This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!
DirectoryEntry Members
Public:
Constructor
Properties
Children |
Gets a DirectoryEntryCollection containing the child entries of this node in the Active Directory hierarchy. |
Guid |
Gets the globally unique identifier of the DirectoryEntry. |
Name |
Gets the relative name of the object as named with the underlying directory service. |
NativeObject |
Gets the native Active Directory Services Interface (ADSI) object. |
Parent |
Gets this entry's parent entry in the store. |
Password |
Gets or sets the password to use when authenticating the client. |
Path |
Gets or sets the path for this DirectoryEntry. |
Properties |
Gets a DirectoryEntryPropertyCollection of properties set on this object. |
SchemaClassName |
Gets the name of the schema used for this DirectoryEntry. |
SchemaEntry |
Gets the DirectoryEntry that holds schema information for this entry. |
Site (inherited from Component) |
Gets or sets the site of the Component. |
UsePropertyCache |
Gets a value indicating whether the cache should not be committed after each operation. |
Username |
Gets or sets the username to use when authenticating the client. |
UseSecureAuthentication |
Gets or sets a value indicating whether the WinNt provider uses NT LAN Manager (NTLM) to authenticate the client. |
Methods
Close |
Closes the DirectoryEntry and releases any system resources associated with this component. |
CommitChanges |
Saves any changes to the entry in the directory store. |
CopyTo |
Overloaded. Creates a copy of this entry as a child of the given parent. |
DeleteTree |
Deletes this entry and its entire subtree from the Active Directory hierarchy. |
Dispose |
Disposes of the resources (other than memory) used by the DirectoryEntry. |
Equals (inherited from Object) |
Determines whether the specified Object is the same instance as the current Object. Subclasses are expected to override this method to support value equality (not reference equality). |
Exists |
Searches the directory store at the given path to see whether the entry exists and if it can be bound to. |
GetContainer (inherited from Component) |
Returns the IContainer that contains the Component. |
GetDesignMode (inherited from Component) |
Gets a value indicating whether the Component is currently in design mode. |
GetHashCode (inherited from Object) |
Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table. |
GetServiceObject (inherited from Component) |
Returns an object representing a service provided by the Component. |
GetType (inherited from Object) |
Gets the Type of the Object. |
Invoke |
Calls a method on the native Active Directory. |
MoveTo |
Overloaded. Moves this entry to the given parent. |
RefreshCache |
Overloaded. Loads the property values for this directory entry into the property cache. |
Rename |
Changes the name of this entry. |
ToString (inherited from Component) |
Returns a String containing the name of the Component, if any. This method should not be overridden. For internal use only. |
Protected:
Methods
Finalize |
Frees all resources associated with the component. |
MemberwiseClone (inherited from Object) |
Creates a shallow copy of the current Object. |
See Also
DirectoryEntry Class | System.DirectoryServices Namespace