Partager via


ADObjectId members

Identifies an object in Active Directory Domain Services (AD DS).

The ADObjectId type exposes the following members.

Constructors

  Name Description
Public method ADObjectId() Initializes a new instance of the ADObjectId class with an empty distinguished name and GUID.
Public method ADObjectId(AdName) Initializes a new instance of the ADObjectId class with the specified distinguished name.
Public method ADObjectId([]) Initializes a new instance of the ADObjectId class from the specified byte array.
Public method ADObjectId(Guid) Initializes a new instance of the ADObjectId class from the specified GUID.
Public method ADObjectId(String) Initializes a new instance of the ADObjectId class from the specified string.
Public method ADObjectId([], Encoding) Initializes a new instance of the ADObjectId class from the specified byte array in the specified encoding.
Public method ADObjectId(Guid, Guid)
Public method ADObjectId(String, Guid) Initializes a new instance of the ADObjectId class from the specified string.
Public method ADObjectId(String, Guid, Guid)

Top

Properties

  Name Description
Public property Depth Gets the depth of the current Active Directory object.
Public property DistinguishedName Gets the distinguished name of the Active Directory object.
Public property DomainId Gets the domain identifier of the Active Directory object.
Public property IsDeleted Gets a value that indicates whether this Active Directory object has been deleted.
Public property IsRelativeDn Gets a value that indicates whether this Active Directory object contains a complete domain path.
Public property Name Gets the name of the object referenced by this Active Directory object identity.
Public property ObjectGuid Gets the unique identifier of this Active Directory object.
Public property OrgHierarchyToIgnore
Public property Parent Gets the Active Directory object identity of the parent of this object.
Public property PartitionGuid
Public property Rdn Gets the Active Directory name for the current level.

Top

Methods

  Name Description
Public method AncestorDN Returns the ancestor of the object at the specified location in the ancestry tree.
Public method DescendantDN Returns the identifier of the descendent at the specified level of the descendent tree.
Public method Equals(Object) Determines whether the current ADObjectId instance is equal to the specified object. (Overrides Object.Equals(Object).)
Public method Equals(String) Determines whether the specified string represents an identifier for the current ADObjectId instance.
Public method Equals(ADObjectId) Determines whether the specified ADObjectId instance is equal to the current ADObjectId instance.
Public methodStatic member Equals(ADObjectId, ADObjectId) Determines whether the specified ADObjectId instances are considered equal.
Public method GetAdNameAtDepth Returns the Active Directory name at the specified depth.
Public method GetByteCount Returns the number of bytes required to serialize the Active Directory object.
Public method GetBytes() Returns a serialized representation of the Active Directory object identity encoded in Unicode. (Overrides ObjectId.GetBytes().)
Public method GetBytes(Encoding) Returns a serialized representation of the Active Directory object identity in the specified character encoding.
Public method GetChildId(String) Returns the Active Directory object identifier of the specified child object in Active Directory Domain Services.
Public method GetChildId(String, String) Returns the Active Directory object identifier of the specified child object in Active Directory Domain Services.
Public method GetDescendantId(ADObjectId) Returns the Active Directory object identifier for the specified descendant object given the associated relative path.
Public method GetDescendantId(String, String, []) Returns the Active Directory object identifier for the specified descendants.
Public method GetFirstGenerationDecendantOf
Public method GetHashCode Returns the hash code for the Active Directory object identifier. (Overrides Object.GetHashCode().)
Public method IsDescendantOf Determines whether the current Active Directory object identifier is the descendent of another.
Public methodStatic member IsValidDistinguishedName Determines whether a specified distinguished name is valid.
Public methodStatic member ParseDnOrGuid Returns an Active Directory object identifier from the specified string.
Public method ToCanonicalName Returns the canonical representation of the Active Directory object's distinguished name.
Public method ToDNString Returns the Active Directory object's distinguished name.
Public method ToExtendedDN Returns the Active Directory object's extended distinguished name.
Public method ToGuidOrDNString Returns the GUID or distinguished name of the Active Directory object.
Public method ToSoftLinkValue
Public method ToString Returns the Active Directory object identifier as a string. (Overrides Object.ToString().)
Public method TraceTo Adds the Active Directory object identity to a trace log.

Top

Fields

  Name Description
Public fieldStatic member ResourcePartitionGuid

Top

See also

Reference

ADObjectId class

Microsoft.Exchange.Data.Directory namespace