Accessing User's outlook properties

R

Rahul

Hi,

I want to access user's outlook properties i.e. Manager field in
Organization tab. I have a text box which has to contain manager name on form
load.

Thanks in advance
 
K

Ken Slovak - [MVP - Outlook]

While you cannot access all the properties from the details window you can
access the Manager property, which is exposed in the Outlook object model.
The AddressEntry object exposes Manager, as does the ContactItem with the
ManagerName property.

So if you want to get the current user's manager use
NameSpace.CurrentUser.AddressEntry.Manager.
 
Top