ADS_DN_WITH_STRING structure

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

Syntax


typedef struct {
  LPWSTR pszStringValue;
  LPWSTR pszDNString;
} ADS_DN_WITH_STRING;

Members

pszStringValue

Pointer to a null-terminated Unicode string that contains the string value of the attribute.

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_STRING, you must also specify the otherWellKnownGuid attribute definition. Add the following to the ldf file attribute definition: omObjectClass:: KoZIhvcUAQEBDA==

Requirements

Minimum supported client

Windows Vista

Minimum supported server

Windows Server 2008

Header

Iads.h

See also

ADSVALUE
Object(DN-String)
ADSI Structures

 

 

Show: