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 O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.