3. Binding and CRUD Operations with DirectoryEntry

DirectoryEntry is the primary class in System.DirectoryServices (SDS). It represents an object in the underlying connected directory. This object can be any type of object in the directory. Typically, it represents things like users, computers, groups, and containers. The majority of what we can accomplish with SDS relies on the use of DirectoryEntry in some manner or another.

In addition to what DirectoryEntry represents, it is solely responsible for all binding to connected directories and provides the security context with which to operate. Any changes or updates to the connected directories occur through use of DirectoryEntry, including the addition of new objects or the deletion of existing ...

Get The .NET Developer’s Guide to Directory Services Programming 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.