Federal Developer Evangelist, Robert Shelton, takes you through a 12 minute walkthrough/demonstration of how to search Active Directory for users, groups, and other AD Objects. This demonstration is using the DirectoryServices namespace of the .NET framework. The demonstration is using Visual Studio 2005, but the code will also work as written for Visual Studio 2003.
You can find the code at my blog: http://sheltonblog.com
My other AD Screencasts:
- Adding user to AD with .NET
http://channel9.msdn.com/Showpost.aspx?postid=130700
- Adding groups and users to groups with .NET
http://channel9.msdn.com/Showpost.aspx?postid=132400
- AD Searchfilter (Querying) Syntax:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/adsi/adsi/search_filter_syntax.asp
- List of SearchScope options:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfsystemdirectoryservicesdirectorysearcherclasssearchscopetopic.asp
~ Robert Shelton