Platform SDK: Active Directory, ADSI, and 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 string value with which the distinguished name, pszStringValue, is associated.
pszDNString
The distinguished name that is associated with the string value, pszStringValue.

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 a non varying string value to ensure that its identity is location independent. You can store such mapping in the ADS_DN_WITH_STRING 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