Platform SDK: Active Directory, ADSI, and Directory Services

ADS_DN_WITH_BINARY

The ADS_DN_WITH_BINARY structure associates a distinguished name with the GUID of an object.

typedef struct
{
  DWORD  dwLength;
  LPBYTE lpBinaryValue;
  LPWSTR pszDNString;
} ADS_DN_WITH_BINARY;

Members

dwLength
The number of bytes of the byte array holding the GUID value.
lpBinaryValue
The GUID value of a directory object. For an Active Directory object, this may correspond to the dnWithOctetString or OtherWellKnownObject attribute.
pszDNString
The string value of a distinguished name of the object.

Remarks

The distinguished name of an object changes when, for example, you move it to a different location. You can associate a distinguished name of an object to its non varying GUID value to ensure that its identity is location independent. You can such mapping in the ADS_DN_WITH_BINARY structure.

Requirements

  Windows NT/2000: Requires Windows 2000 (or Windows NT 4.0 with DSClient).
  Windows 95/98: Requires Windows 95 or later (with DSClient).
  Header: Declared in Iads.h.

See Also

ADSI Structures