Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsWindows Server 2003Windows 2000Windows NTSmall Business ServerVirtual ServerExchange ServerIISHost Integration ServerISA ServerSMSWSUSMOMWindows Media ServerSecurityCertification
Related Topics
SQL ServerMS WindowsMS OfficePC HardwareMore Topics ...

Windows Server Forum / Exchange Server / Applications / August 2005

Tip: Looking for answers? Try searching our database.

Accessing Exchange Custom Attributes

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Paul Smith - 25 Aug 2005 18:58 GMT
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
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.