Platform SDK: Active Directory, ADSI, and Directory Services

IADsMembers

The IADsMembers interface 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.

IADsMembers is a dual interface. It exposes the following property methods.

Methods in Vtable Order

IUnknown methods Description
QueryInterface Returns pointers to supported interfaces.
AddRef Increments reference count.
Release Decrements reference count.

IDispatch methods Description
GetTypeInfoCount Gets the number of type descriptions.
GetTypeInfo Gets a description of object's programmable interface.
GetIDsOfNames Maps name of method or property to DISPID.
Invoke Calls one of the object's methods, or gets and sets one of its properties.

IADsMembers property methods Description
get_Count Gets the number of members.
get__NewEnum Retrieves an interface on an enumerator object.
get/put_Filter Gets and sets the filter for selection.

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

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