Active Directory Technology Summary

In this section of the chapter is a detailed explanation of the two main classes used by the .NET framework that access and manipulate data stored in the Windows 2000 Active directory.

The Directory Services API, which is part of the .NET framework through this API, enables accessing, reading, and manipulating Active Directories. The Directory Services API consists of two main classes:

  • DirectoryEntry— Used to retrieve and manipulate Active Directory objects and properties.

  • DirectorySearcher— Used to search through the active directory for objects to retrieve and manipulate.

These classes are in the System.DirectoryServices namespace and must be included in ASP.NET web pages that use directory services.

Get Inside ASP.NET now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.