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 __MIDL___MIDL_itf_ads_0000_0000_0016 {
  LPWSTR pszStringValue;
  LPWSTR pszDNString;
} ADS_DN_WITH_STRING, *PADS_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

ADSI Structures

ADSVALUE

Object(DN-String)