P
paresh
Hi,
I have been using below code to get the users detailed contact information.
Dim usersList As Outlook.AddressEntries
Dim oEntry As Outlook.AddressEntry
Dim oContact As Object
Set usersList = Outlook.Application.Session.AddressLists.Item("All
Users").AddressEntries
Set oEntry = usersList.Item("user name")
MsgBox oEntry.GetExchangeUser().BusinessTelephoneNumber & " " &
oEntry.GetExchangeUser().MobileTelephoneNumber
I could see BusinessTelephoneNumber and MobileTelephoneNumber properties in
GetExchangeUser() method but couldn't find HomeMobileNumber. I have verified
the same from Object browser and couldn;t see the HomeTelephoneNumberProperty
there.
Is this expected? How could I get the HomeTelephoneNumber then?
Though I could see the HomeTelephoneNumber property is a part of
ContactItem, I cannot use it as all users won't be part of contacts folder.
Thanks.
I have been using below code to get the users detailed contact information.
Dim usersList As Outlook.AddressEntries
Dim oEntry As Outlook.AddressEntry
Dim oContact As Object
Set usersList = Outlook.Application.Session.AddressLists.Item("All
Users").AddressEntries
Set oEntry = usersList.Item("user name")
MsgBox oEntry.GetExchangeUser().BusinessTelephoneNumber & " " &
oEntry.GetExchangeUser().MobileTelephoneNumber
I could see BusinessTelephoneNumber and MobileTelephoneNumber properties in
GetExchangeUser() method but couldn't find HomeMobileNumber. I have verified
the same from Object browser and couldn;t see the HomeTelephoneNumberProperty
there.
Is this expected? How could I get the HomeTelephoneNumber then?
Though I could see the HomeTelephoneNumber property is a part of
ContactItem, I cannot use it as all users won't be part of contacts folder.
Thanks.