This chapter introduces .NET developers to the world of Lightweight Directory Access Protocol (LDAP) directory services programming. We will discuss the overall landscape of .NET directory services programming as well as how .NET relates to the underlying native Windows APIs. We will touch upon the three relevant namespaces for .NET developersSystem.DirectoryServices, System.DirectoryServices.ActiveDirectory, and System.DirectoryServices.Protocolsand discuss how to choose among the various options available to us.
Part I: Fundamentals
Introduction to LDAP and Active Directory
Introduction to .NET Directory Services Programming
Binding and CRUD Operations with DirectoryEntry
Searching with the DirectorySearcher
Advanced LDAP Searches
Reading and Writing LDAP Attributes
Active Directory and ADAM Schema
Security in Directory Services Programming
Introduction to the ActiveDirectory Namespace
Part II: Practical Applications
User Management
Group Management
Authentication
Part III: Appendixes
Appendix A. Three Approaches to COM Interop with ADSI
Appendix B. LDAP Tools for Programmers
Appendix C. Troubleshooting and Help
Index