Export (0) Print
Expand All

DirectoryEntry Members

The DirectoryEntry class encapsulates a node or object in the Active Directory hierarchy.

The following tables list the members exposed by the DirectoryEntry type.

  Name Description
Public method DirectoryEntry Overloaded. Initializes a new instance of the DirectoryEntry class.
Top

(see also Protected Properties )
  Name Description
Public property AuthenticationType Gets or sets the type of authentication to use.
Public property Children Gets the child entries of this node in the Active Directory hierarchy.
Public property Container  Gets the IContainer that contains the Component.(inherited from Component)
Public property Guid Gets the GUID of the DirectoryEntry.
Public property Name Gets the name of the object as named with the underlying directory service.
Public property NativeGuid Gets the GUID of the DirectoryEntry, as returned from the provider.
Public property NativeObject Gets the native Active Directory Service Interfaces (ADSI) object.
Public property ObjectSecurity Gets or sets the security descriptor for this entry.
Public property Options Gets the provider-specific options for this entry.
Public property Parent Gets this entry's parent in the Active Directory hierarchy.
Public property Password Sets the password to use when authenticating the client.
Public property Path Gets or sets the path for this DirectoryEntry.
Public property Properties Gets the Active Directory properties for this DirectoryEntry object.
Public property SchemaClassName Gets the name of the schema class for this DirectoryEntry object.
Public property SchemaEntry Gets the schema object for this entry.
Public property Site  Gets or sets the ISite of the Component.(inherited from Component)
Public property UsePropertyCache Gets or sets a value indicating whether the cache should be committed after each operation.
Public property Username Gets or sets the user name to use when authenticating the client.
Top

  Name Description
Protected property CanRaiseEvents  Gets a value indicating whether the component can raise an event.(inherited from Component)
Protected property DesignMode  Gets a value that indicates whether the Component is currently in design mode.(inherited from Component)
Protected property Events  Gets the list of event handlers that are attached to this Component.(inherited from Component)
Top

(see also Protected Methods )
  Name Description
Public method Close Closes the DirectoryEntry object and releases any system resources that are associated with this component.
Public method CommitChanges Saves changes that are made to a directory entry to the underlying directory store.
Public method CopyTo Overloaded. Creates a copy of this entry.
Public method CreateObjRef  Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object. (inherited from MarshalByRefObject)
Public method DeleteTree Deletes this entry and its entire subtree from the Active Directory hierarchy.
Public method Dispose Overloaded. Disposes of the resources that are used by the DirectoryEntry object.
Public method Equals  Overloaded. Determines whether two Object instances are equal. (inherited from Object)
Public method Static Exists Determines if the specified path represents an actual entry in the directory service.
Public method GetHashCode  Serves as a hash function for a particular type. (inherited from Object)
Public method GetLifetimeService  Retrieves the current lifetime service object that controls the lifetime policy for this instance. (inherited from MarshalByRefObject)
Public method GetType  Gets the Type of the current instance. (inherited from Object)
Public method InitializeLifetimeService  Obtains a lifetime service object to control the lifetime policy for this instance. (inherited from MarshalByRefObject)
Public method Invoke Calls a method on the native Active Directory object.
Public method InvokeGet Gets a property from the native Active Directory object.
Public method InvokeSet Sets a property on the native Active Directory object.
Public method MoveTo Overloaded. Moves this DirectoryEntry.
Public method Static ReferenceEquals  Determines whether the specified Object instances are the same instance. (inherited from Object)
Public method RefreshCache Overloaded. Loads the property values for this DirectoryEntry object into the property cache.
Public method Rename Changes the name of this DirectoryEntry object.
Public method ToString  Returns a String containing the name of the Component, if any. This method should not be overridden. (inherited from Component)
Top

  Name Description
Protected method Dispose Overloaded. Overridden. Disposes of the resources that are used by the DirectoryEntry object.
Protected method Finalize  Releases unmanaged resources and performs other cleanup operations before the Component is reclaimed by garbage collection. (inherited from Component)
Protected method GetService  Returns an object that represents a service provided by the Component or by its Container. (inherited from Component)
Protected method MemberwiseClone  Overloaded. (inherited from MarshalByRefObject)
Top

  Name Description
Public event Disposed  Occurs when the component is disposed by a call to the Dispose method. (inherited from Component)
Top

Community Additions

ADD
Show:
© 2014 Microsoft