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
但是这不被支持。 有没有什么办法可以收到房产的名字?