Platform SDK: Active Directory, ADSI, and Directory Services |
You can remove users, groups, or contacts from groups. The member property of the group object contains all direct members of the group.
The simplest way to remove a member from a group is to use the IADsGroup::Remove methods on the IADsGroup object representing the group you want to remove members from.