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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top