ADObjectId members
Identifies an object in Active Directory Domain Services (AD DS).
The ADObjectId type exposes the following members.
Constructors
Name | Description | |
---|---|---|
ADObjectId() | Initializes a new instance of the ADObjectId class with an empty distinguished name and GUID. | |
ADObjectId(AdName) | Initializes a new instance of the ADObjectId class with the specified distinguished name. | |
ADObjectId([]) | Initializes a new instance of the ADObjectId class from the specified byte array. | |
ADObjectId(Guid) | Initializes a new instance of the ADObjectId class from the specified GUID. | |
ADObjectId(String) | Initializes a new instance of the ADObjectId class from the specified string. | |
ADObjectId([], Encoding) | Initializes a new instance of the ADObjectId class from the specified byte array in the specified encoding. | |
ADObjectId(Guid, Guid) | ||
ADObjectId(String, Guid) | Initializes a new instance of the ADObjectId class from the specified string. | |
ADObjectId(String, Guid, Guid) |
Top
Properties
Name | Description | |
---|---|---|
Depth | Gets the depth of the current Active Directory object. | |
DistinguishedName | Gets the distinguished name of the Active Directory object. | |
DomainId | Gets the domain identifier of the Active Directory object. | |
IsDeleted | Gets a value that indicates whether this Active Directory object has been deleted. | |
IsRelativeDn | Gets a value that indicates whether this Active Directory object contains a complete domain path. | |
Name | Gets the name of the object referenced by this Active Directory object identity. | |
ObjectGuid | Gets the unique identifier of this Active Directory object. | |
OrgHierarchyToIgnore | ||
Parent | Gets the Active Directory object identity of the parent of this object. | |
PartitionGuid | ||
Rdn | Gets the Active Directory name for the current level. |
Top
Methods
Name | Description | |
---|---|---|
AncestorDN | Returns the ancestor of the object at the specified location in the ancestry tree. | |
DescendantDN | Returns the identifier of the descendent at the specified level of the descendent tree. | |
Equals(Object) | Determines whether the current ADObjectId instance is equal to the specified object. (Overrides Object.Equals(Object).) | |
Equals(String) | Determines whether the specified string represents an identifier for the current ADObjectId instance. | |
Equals(ADObjectId) | Determines whether the specified ADObjectId instance is equal to the current ADObjectId instance. | |
Equals(ADObjectId, ADObjectId) | Determines whether the specified ADObjectId instances are considered equal. | |
GetAdNameAtDepth | Returns the Active Directory name at the specified depth. | |
GetByteCount | Returns the number of bytes required to serialize the Active Directory object. | |
GetBytes() | Returns a serialized representation of the Active Directory object identity encoded in Unicode. (Overrides ObjectId.GetBytes().) | |
GetBytes(Encoding) | Returns a serialized representation of the Active Directory object identity in the specified character encoding. | |
GetChildId(String) | Returns the Active Directory object identifier of the specified child object in Active Directory Domain Services. | |
GetChildId(String, String) | Returns the Active Directory object identifier of the specified child object in Active Directory Domain Services. | |
GetDescendantId(ADObjectId) | Returns the Active Directory object identifier for the specified descendant object given the associated relative path. | |
GetDescendantId(String, String, []) | Returns the Active Directory object identifier for the specified descendants. | |
GetFirstGenerationDecendantOf | ||
GetHashCode | Returns the hash code for the Active Directory object identifier. (Overrides Object.GetHashCode().) | |
IsDescendantOf | Determines whether the current Active Directory object identifier is the descendent of another. | |
IsValidDistinguishedName | Determines whether a specified distinguished name is valid. | |
ParseDnOrGuid | Returns an Active Directory object identifier from the specified string. | |
ToCanonicalName | Returns the canonical representation of the Active Directory object's distinguished name. | |
ToDNString | Returns the Active Directory object's distinguished name. | |
ToExtendedDN | Returns the Active Directory object's extended distinguished name. | |
ToGuidOrDNString | Returns the GUID or distinguished name of the Active Directory object. | |
ToSoftLinkValue | ||
ToString | Returns the Active Directory object identifier as a string. (Overrides Object.ToString().) | |
TraceTo | Adds the Active Directory object identity to a trace log. |
Top
Fields
Name | Description | |
---|---|---|
ResourcePartitionGuid |
Top