Directory Services

ADS_DN_WITH_STRING

The ADS_DN_WITH_STRING structure associates a distinguished name with a string value.

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

Members

pszStringValue
The null-terminated Unicode string used to identify the object.
pszDNString
The null-terminated Unicode string that contains the distinguished name for this object. pszDNString is associated with the string value in pszStringValue.

Remarks

The distinguished name of an object changes when you move it to a different location. You can associate a distinguished name of an object with a string value to ensure that its identity is not dependent upon its location. You can store this identity mapping in the ADS_DN_WITH_STRING structure.

Requirements

Client: Included in Windows XP and Windows 2000 Professional.
Server: Included in Windows Server 2003 and Windows 2000 Server.
Redistributable: Requires Active Directory Client Extension on Windows NT 4.0 SP6a and Windows 95/98/Me.
Header: Declared in Iads.h.

See Also

ADSI Structures