Is there a way to access a user's Exchange custom attributes programatically,
using CDO or ADO (or some other way)?
Thanks,

Signature
Paul Smith
Henning Krause [MVP - Exchange] - 25 Aug 2005 19:18 GMT
Hello,
the custom attributes of the users are stored within Active Directory,
directly on the user object.
If you are using VBScript or VB or C++, you can use the IADS interfaces.
With any .NET language, you can use the System.DirectoryServices objects.
They are named extensionAttribute1 through extensionAttribute15.
Greetings,
Henning Krause
MVP - Exchange
http://www.infinitec.de
> Is there a way to access a user's Exchange custom attributes
> programatically,
> using CDO or ADO (or some other way)?
>
> Thanks,
Paul Smith - 25 Aug 2005 19:44 GMT
Thank you. Can you tell me how to get at the IADS interfaces? I would be
using VB.

Signature
Paul Smith
> Hello,
>
[quoted text clipped - 16 lines]
> >
> > Thanks,
Henning Krause [MVP - Exchange] - 25 Aug 2005 20:41 GMT
Hello Paul,
the MSDN has the interface description and some examples in Visual Basic:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/adsi/adsi/iads_
property_methods.asp
Greetings,
Henning Krause
MVP - Exchange
http://www.infinitec.de
> Thank you. Can you tell me how to get at the IADS interfaces? I would be
> using VB.
[quoted text clipped - 19 lines]
>> >
>> > Thanks,
Paul Smith - 25 Aug 2005 21:48 GMT
Thanks again!

Signature
Paul Smith
> Hello Paul,
>
[quoted text clipped - 29 lines]
> >> >
> >> > Thanks,
Paul Robichaux [MVP] - 29 Aug 2005 15:19 GMT
> Is there a way to access a user's Exchange custom attributes programatically,
> using CDO or ADO (or some other way)?
Paul, for a (fairly) gentle introduction to scripting with Exchange, you
might stop by http://www.exchangecookbook.com. There are several sample
scripts that you may find useful-- check out the scripts for chapter 5,
along with the references that Henning provided.
Cheers,
-Paul

Signature
Paul Robichaux <paulr@mvps.org>
MVP - Exchange
Exchange security book: http://www.e2ksecurity.com
FAQs: http://www.swinc.com/resource/exchange.htm &
http://www.swinc.com/resource/e2kfaq.htm
Paul Smith - 31 Aug 2005 07:28 GMT
Thanks, Paul.

Signature
Paul Smith
> > Is there a way to access a user's Exchange custom attributes programatically,
> > using CDO or ADO (or some other way)?
[quoted text clipped - 6 lines]
> Cheers,
> -Paul