The DirectorySearcher::ExtendedDN property.enumeration specifies the format in which to return the extended distinguished name. This enumeration is used with the
Assembly: System.DirectoryServices (in System.DirectoryServices.dll)
Indicates that the distinguished name uses the hexadecimal format.
Indicates that the distinguished name uses the distinguished name format.
Indicates that the distinguished name uses the standard string format.
The extended form of a distinguished name includes a string representation of the objectGUID property of an object. For security principal objects such as users, groups, and computers, the extended form also includes a string representation of the objectSID property. For more information about the objectGUID and objectSID properties, see the topics Object-Guid and Object-Sid in the MSDN Library at http://msdn.microsoft.com/library.
The following C# example shows how to return a collection of distinguished names in hexadecimal format.
Available since 2.0