Tue, May 15, 2007, 03:33 PM under dotNET
One of the new assemblies in .NET Framework 3.5 is System.DirectoryServices.AccountManagement.dll
(you have to browse on the file system to your Framework 3.5 installation in order to add a reference in VS "Orcas"). It is an extensible managed wrapper with intuitive search that aims to simplify programming with both ADAM and AD – it is based on SDS/ADSI under the hood. I deduced that from a powerpoint deck that you can find in a zip file if you scroll to the bottom of Joe's blog post there
(look at slides 18-22, includes code snippets).
I started looking at it and like I always do with new namespaces I drew a class diagram to help me understand it. It turned out to be fairly large so only if you are really interested, have a look here
. Better still, for a small piece of sample code, go to Bart's blog post