Directory Services |
The ADS_OBJECT_INFO structure specifies the data, 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;
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.
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.
ADSI Structures, IADs::GetInfo, IDirectoryObject::GetObjectInformation