This object encapsulates a node in the Active Directory hierarchy.
Object
Component
DirectoryEntry
[Visual Basic] Public Class DirectoryEntry Inherits Component [C#] public class DirectoryEntry : Component [C++] public __gc class DirectoryEntry : public Component [JScript] public class DirectoryEntry extends Component
Use this class for easy access to the Active Directory from managed code.
Provides the means for client applications of directory services to use one set of interfaces to communicate with any namespace that provides an Active Directory Service Interface (ADSI) implementation. ADSI clients use the interfaces in place of the network-specific Application Programming Interface (API) calls to gain simpler access to the services for a namespace.
This set of interfaces support directory queries and object management, no matter which network environment contains the resource. They can be an LDAP-based, NDS-based, or NTDS-based directory. It does not matter so long as a service provider is available for that directory service.
Namespace: System.DirectoryServices
Assembly: System.DirectoryServices.dll
DirectoryEntry Members | System.DirectoryServices Namespace | DirectoryEntryCollection | DirectoryEntryProperty | DirectoryEntryPropertyCollection | DirectoryEntryPropertyValueCollection