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
The IADsMembers interface inherits the methods of the IDispatch interface.
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.
|
Properties
The IADsMembers interface defines the following properties. The preceding table includes access methods for these properties.
| Property | Access type | Description |
Count | Read-only | Gets the number of members.
|
Filter | Read/write | Gets and sets the filter for selection.
|
Requirements
| Minimum supported client | Windows 2000 Professional |
| Minimum supported server | Windows 2000 Server |
| Header | Iads.h |
| DLL | Activeds.dll |
| IID | IID_IADsMembers is defined as 451A0030-72EC-11CF-B03B-00AA006E0975 |
See Also
IADsGroup::get_Members
IADsCollection
IADsContainer
IADsMembers Property
Methods
Send comments about this topic to Microsoft
Build date: 1/15/2009