The IADsGroup interface is a dual interface that inherits from IADs. It manages group membership data in a directory service. It enables you to get member objects, test if a given object belongs to the group, and to add, or remove, an object to, or from, the group.
The IADsGroup interface has these methods.
|IADsGroup::Add||Adds an ADSI object to an existing group.|
|IADsGroup::IsMember||Determines if a directory service object is an immediate member of the group.|
|IADsGroup::Members||Retrieves a collection of the immediate members of the group.|
|IADsGroup::Remove||The IADsGroup::Remove method removes the specified user object from this group. The operation does not remove the group object itself even when there is no member remaining in the group.|
|Minimum supported client||Windows Vista|
|Minimum supported server||Windows Server 2008|