How do I pull active directory information into an outlook form?

G

Guest

I am trying to create a custom form for new tasks in Outlook 2003. I have
created the form but I would like to pull information such as "requested by"
from Active directory. I do not see a way to do this. The standard form does
this so it must be possible.
 
S

Sue Mosher [MVP-Outlook]

If what you're looking for is the current user's name, you can get that from Application.Session.CurrentUser.

--
Sue Mosher, Outlook MVP
Author of Configuring Microsoft Outlook 2003

and Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
 
G

Guest

I am trying to pull active directory names into a task form so I can put in a
requested by field. Current user is automatically pulled in to owner.
 
S

Sue Mosher [MVP-Outlook]

All the address lists that the user can see are exposed in the Namespace.AddressLists collection. Return the one you need and iterate its AddressList.AddressEntries collection.

--
Sue Mosher, Outlook MVP
Author of Configuring Microsoft Outlook 2003

and Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
 
G

Guest

Nevermind. I will just use another product.

Sue Mosher said:
All the address lists that the user can see are exposed in the Namespace.AddressLists collection. Return the one you need and iterate its AddressList.AddressEntries collection.

--
Sue Mosher, Outlook MVP
Author of Configuring Microsoft Outlook 2003

and Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
 

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

Similar Threads


Top