Platform SDK: Active Directory, ADSI, and Directory Services

ADS_OBJECT_INFO

The ADS_OBJECT_INFO structure specifies the information, including the identity and location, of a directory service object.

typedef struct _ADS_OBJECT_INFO 
{
  LPWSTR pszRDN;
  LPWSTR pszObjectDN;
  LPWSTR pszParentDN;
  LPWSTR pszSchemaDN;
  LPWSTR pszClassName;
} ADS_OBJECT_INFO, *PADS_OBJECT_INFO;

Members

pszRDN
Relative distinguished name (relative path) of the directory service object.
pszObjectDN
Distinguished name (path) of the directory service object.
pszParentDN
Distinguished name of the parent object.
pszSchemaDN
Distinguished name of the schema class of the object.
pszClassName
Name of the class of which this object is an instance.

Remarks

To obtain the information of an object, non-Automation clients call the IDirectoryObject::GetObjectInformation method, which takes an out parameter, a pointer to an ADS_OBJECT_INFO structure allocated in the heap. Automation clients can accomplish the same task by calling IADs::GetInfo.

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, IADs::GetInfo, IDirectoryObject::GetObjectInformation