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.
If what you're looking for is the current user's name, you can get that from Application.Session.CurrentUser.

Signature
Sue Mosher, Outlook MVP
Author of Configuring Microsoft Outlook 2003
http://www.turtleflock.com/olconfig/index.htm
and Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
http://www.outlookcode.com/jumpstart.aspx
>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.
jcross - 18 Apr 2007 13:42 GMT
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.
> If what you're looking for is the current user's name, you can get that from Application.Session.CurrentUser.
>
> >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.
Sue Mosher [MVP-Outlook] - 18 Apr 2007 13:46 GMT
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.

Signature
Sue Mosher, Outlook MVP
Author of Configuring Microsoft Outlook 2003
http://www.turtleflock.com/olconfig/index.htm
and Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
http://www.outlookcode.com/jumpstart.aspx
>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.
[quoted text clipped - 5 lines]
>> > from Active directory. I do not see a way to do this. The standard form does
>> > this so it must be possible.
jcross - 25 Apr 2007 20:10 GMT
Nevermind. I will just use another product.
> 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.
>
[quoted text clipped - 7 lines]
> >> > from Active directory. I do not see a way to do this. The standard form does
> >> > this so it must be possible.