NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

DirectoryEntry Class

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

Remarks

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.

Requirements

Namespace: System.DirectoryServices

Assembly: System.DirectoryServices.dll

See Also

DirectoryEntry Members | System.DirectoryServices Namespace | DirectoryEntryCollection | DirectoryEntryProperty | DirectoryEntryPropertyCollection | DirectoryEntryPropertyValueCollection