ADS_DN_WITH_BINARY structure

The ADS_DN_WITH_BINARY structure is used with the ADSVALUE structure to contain a distinguished name attribute value that also contains binary data.

Syntax


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

Members

dwLength

Contains the length, in bytes, of the binary data in lpBinaryValue.

lpBinaryValue

Pointer to an array of bytes that contains the binary data for the attribute. The dwLength member contains the number of bytes in this array.

pszDNString

Pointer to a null-terminated Unicode string that contains the distinguished name.

Remarks

When extending the active directory schema to add ADS_DN_WITH_BINARY, you must also specify the otherWellKnownGuid attribute definition. Add the following to the ldf file attribute definition: omObjectClass:: KoZIhvcUAQEBCw==

Requirements

Minimum supported client

Windows Vista

Minimum supported server

Windows Server 2008

Header

Iads.h

See also

ADSVALUE
Object(DN-Binary)
ADSI Structures

 

 

Show: