ADS_OBJECT_INFO structure

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

Syntax


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

Members

pszRDN

The null-terminated Unicode string that contains the relative distinguished name of the directory service object.

pszObjectDN

The null-terminated Unicode string that contains the distinguished name of the directory service object.

pszParentDN

The null-terminated Unicode string that contains the distinguished name of the parent object.

pszSchemaDN

The null-terminated Unicode string that contains the distinguished name of the schema class of the object.

pszClassName

The null-terminated Unicode string that contains the name of the class of which this object is an instance.

Remarks

To obtain the object data, 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

Minimum supported client

Windows Vista

Minimum supported server

Windows Server 2008

Header

Iads.h

See also

ADSI Structures
IADs::GetInfo
IDirectoryObject::GetObjectInformation

 

 

Show: