Directory services are an important though rarely mastered component of enterprise application development. There has always been some support for directories in the .NET Framework, but the .NET Framework 3.5 provides a new AccountManagement namespace designed specifically for managing security principals.

In the January issue of MSDN Magazine, Joe Kaplan and Ethan Wilansky walk you through the basics of using the AccountManagement namespace to build directory services features into your apps, including creating user accounts, creating group and computer principals, managing group membership, as well as authentication and extensibility.

Don't forget to browse the code in our online code library.