Directory Services


The IADsMembers interface is a dual interface. It is designed for managing a list of ADSI object references. It is implemented to support group membership for individual accounts. It can be used to manage a collection of ADSI objects belonging to a group. To access the collection of group members, use the IADsGroup::get_Members property method implemented by the ADSI group object.

The IADsMembers interface serves a slightly different purpose from the IADsCollection and IADsContainer interfaces, which also works with a set of data or objects. IADsCollection manages sets of arbitrary data elements that are not object references, whereas IADsContainer manages objects that are part of the directory tree structure or the network topology.

Methods in Vtable Order

The IADsMembers interface inherits the methods of the standard COM interfaces:

In addition, IADsMembers defines the following methods.

Method Description
get_Count Gets the number of members.
get__NewEnum Retrieves an interface on an enumerator object.
get_Filter Gets and sets the filter for selection.
put_Filter Gets and sets the filter for selection.


The IADsMembers interface defines the following properties. The preceding table includes access methods for these properties.

Property Description
Count Gets the number of members.
Filter Gets and sets the filter for selection.


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.

See Also

IADsGroup::get_Members, IADsCollection, IADsContainer, IADsMembers Property Methods