Thursday, August 12, 2004 4:26 PM bart

New love: Active Directory & Exchange programming

While working on design specs, architectural documents, threat modeling, etc for the future development of SchoolServer I'm investigating quite a lot of techologies and their usability for plug-ins on our solution. Examples include ISA 2004 (yesterday I did an installation of it in a production environment for about 50 users as a firewall, proxy and server publisher), Exchange 2003, SFU 3.5, SharePoint object model, IIS 6 management, etc. The good news is that quite a lot of these technologies are (rather) easy to manage from within managed code (i.e. C# in our case, however everything will work with VB.NET as well). My latest big "managed love" (please don't misunderstand :-)) is now called System.DirectoryServices which I'm working with regularly for over a year now. The documentation of these classes is a bit dark and mentions that System.DirectoryServices is a management library for Active Directory. However, it's more than this alone, you can use it to talk to ADSI objects in general including AD/AM, Exchange (which is Active Directory based of course) but things such as the IIS configuration as well.

I'll now provide a link to a first sample of Exchange programming on my website: http://www.bartdesmet.net/download/exchangedemo.zip. Enjoy it :-)

You can expect to see more of these samples/stuff later on, including IIS management samples.

Del.icio.us | Digg It | Technorati | Blinklist | Furl | reddit | DotNetKicks

Filed under:

Comments

# re: New love: Active Directory & Exchange programming

Thursday, July 14, 2005 2:08 AM by bart

Hi Bart,

I'm doing Active Directory programming recently. Here is my question.

Users are stored in Active Directory, and Users are stored in Exchange Server as well. Should users in AD be exactly the same as those in Exchange?

If a user in AD is in Exchange as well. How can we keep the user's profile, such as department, location, and so on, to be identical? Do we need type in his profil in AD and Exchange seperately? Or, we can replicate it from one to another?

My frastrstion is, when I try to retrieve department info, shall I retrieve it from AD or Exchange?

There are silly questions. :-) Sorry and looking forward your answer. Thank you in advance.

Nicole