0
我有一個位於MS交換服務器上的地址簿。我想閱讀每個聯繫人的用戶定義字段。我得到用戶列表,並可以迭代交換用戶並打印諸如全名等標準屬性。爲Outlook交換用戶獲取VB腳本中userproperties的名稱
For Each AddressEntry In AddressList.AddressEntries
Set User = AddressEntry.GetExchangeUser()
If Not User Is Nothing Then
Debug.Print User.Name
End If
Next
但現在我也想讀取用戶屬性,但我不知道使用的名稱。我試圖迭代User.UserProperties
。
For Each UserProperty In User.UserProperties
Debug.Print UserProperty.Name
Next
但是這不被支持。 有沒有什麼辦法可以收到房產的名字?