IADsGroup interface

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.

Methods

The IADsGroup interface has these methods.

Method Description
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.

Requirements

   
Minimum supported client Windows Vista
Minimum supported server Windows Server 2008
Target Platform Windows
Header iads.h

See Also

IADs

IADsGroup Property Methods

IDispatch