This topic has not yet been rated - Rate this topic

IDirectoryObject interface

Applies to: desktop apps only

The IDirectoryObject interface is a non-Automation COM interface that provides clients with direct access to directory service objects. The interface enables access by means of a direct over-the-wire protocol, rather than through the ADSI attribute cache. Using the over-the-wire protocol optimizes performance. With IDirectoryObject, a client can get, or set, any number of object attributes with one method call. Unlike the corresponding Automation methods, which are invoked in batch, those of IDirectoryObject are executed when they are called. IDirectoryObject performs no attribute caching.

Non-Automation clients can call the methods of IDirectoryObject to optimize performance and take advantage of native directory service interfaces. Automation clients cannot use IDirectoryObject. Instead, they should use the IADs interface.

Of the ADSI system-supplied providers, only the LDAP provider supports this interface.

Members

The IDirectoryObject interface inherits from the IUnknown interface. IDirectoryObject also has these types of members:

Methods

The IDirectoryObject interface has these methods.

MethodDescription
CreateDSObject

Creates a directory service object.

DeleteDSObject

Deletes a directory service object.

GetObjectAttributes

Gets one or more attributes of a directory service object.

GetObjectInformation

Gets data about a directory service object.

SetObjectAttributes

Sets one or more attributes of a directory service object.

 

Requirements

Minimum supported client

Windows 2000 Professional

Minimum supported server

Windows 2000 Server

Header

Iads.h

DLL

Activeds.dll

IID

IID_IDirectoryObject is defined as E798DE2C-22E4-11D0-84FE-00C04FD8D503

See also

IADs

 

 

Send comments about this topic to Microsoft

Build date: 2/3/2012

Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ