Click to Rate and Give Feedback
MSDN
MSDN Library
.NET Development
.NET Framework 3.5
 DirectoryEntry Members
Collapse All/Expand All Collapse All
Members FilterMembers Filter
Frameworks FilterFrameworks Filter
This page is specific to
Microsoft Visual Studio 2008/.NET Framework 3.5

Other versions are also available for the following:
.NET Framework Class Library
DirectoryEntry Members

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

The DirectoryEntry type exposes the following members.

  NameDescription
Public methodDirectoryEntryOverloaded. Initializes a new instance of the DirectoryEntry class.
Top
  NameDescription
Public methodCloseCloses the DirectoryEntry object and releases any system resources that are associated with this component.
Public methodCommitChangesSaves changes that are made to a directory entry to the underlying directory store.
Public methodCopyToOverloaded. Creates a copy of this entry.
Public methodCreateObjRefCreates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object. (Inherited from MarshalByRefObject.)
Public methodDeleteTreeDeletes this entry and its entire subtree from the Active Directory Domain Services hierarchy.
Public methodDisposeOverloaded. Disposes of the resources that are used by the DirectoryEntry object.
Public methodEqualsDetermines whether the specified Object is equal to the current Object. (Inherited from Object.)
Public methodStatic memberExistsDetermines if the specified path represents an actual entry in the directory service.
Protected methodFinalizeReleases unmanaged resources and performs other cleanup operations before the Component is reclaimed by garbage collection. (Inherited from Component.)
Public methodGetHashCodeServes as a hash function for a particular type. (Inherited from Object.)
Public methodGetLifetimeServiceRetrieves the current lifetime service object that controls the lifetime policy for this instance. (Inherited from MarshalByRefObject.)
Protected methodGetServiceReturns an object that represents a service provided by the Component or by its Container. (Inherited from Component.)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Public methodInitializeLifetimeServiceObtains a lifetime service object to control the lifetime policy for this instance. (Inherited from MarshalByRefObject.)
Public methodInvokeCalls a method on the native Active Directory Domain Services object.
Public methodInvokeGetGets a property from the native Active Directory Domain Services object.
Public methodInvokeSetSets a property on the native Active Directory Domain Services object.
Protected methodMemberwiseCloneOverloaded.
Public methodMoveToOverloaded. Moves this DirectoryEntry.
Public methodRefreshCacheOverloaded. Loads the property values for this DirectoryEntry object into the property cache.
Public methodRenameChanges the name of this DirectoryEntry object.
Public methodToStringReturns a String containing the name of the Component, if any. This method should not be overridden. (Inherited from Component.)
Top
  NameDescription
Public propertyAuthenticationTypeGets or sets the type of authentication to use.
Protected propertyCanRaiseEventsGets a value indicating whether the component can raise an event. (Inherited from Component.)
Public propertyChildrenGets the child entries of this node in the Active Directory Domain Services hierarchy.
Public propertyContainerGets the IContainer that contains the Component. (Inherited from Component.)
Protected propertyDesignModeGets a value that indicates whether the Component is currently in design mode. (Inherited from Component.)
Protected propertyEventsGets the list of event handlers that are attached to this Component. (Inherited from Component.)
Public propertyGuidGets the GUID of the DirectoryEntry.
Public propertyNameGets the name of the object as named with the underlying directory service.
Public propertyNativeGuidGets the GUID of the DirectoryEntry, as returned from the provider.
Public propertyNativeObjectGets the native Active Directory Service Interfaces (ADSI) object.
Public propertyObjectSecurityGets or sets the security descriptor for this entry.
Public propertyOptionsGets the provider-specific options for this entry.
Public propertyParentGets this entry's parent in the Active Directory Domain Services hierarchy.
Public propertyPasswordSets the password to use when authenticating the client.
Public propertyPathGets or sets the path for this DirectoryEntry.
Public propertyPropertiesGets the Active Directory Domain Services properties for this DirectoryEntry object.
Public propertySchemaClassNameGets the name of the schema class for this DirectoryEntry object.
Public propertySchemaEntryGets the schema object for this entry.
Public propertySiteGets or sets the ISite of the Component. (Inherited from Component.)
Public propertyUsePropertyCacheGets or sets a value indicating whether the cache should be committed after each operation.
Public propertyUsernameGets or sets the user name to use when authenticating the client.
Top
  NameDescription
Public eventDisposedOccurs when the component is disposed by a call to the Dispose method. (Inherited from Component.)
Top
Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2009 Microsoft Corporation. All rights reserved. Terms of Use | Trademarks | Privacy Statement
Page view tracker