You can remove users, groups, or contacts from groups. The member attribute of the group object contains all direct members of the group.
The simplest way to remove a member from a group is to call the IADsGroup.Remove method on the IADsGroup interface of the group object you want to remove members from.
Source: Microsoft Learn / Windows Win32 documentation by Microsoft and contributors. Documentation licensed CC BY 4.0. Code samples are covered by the MIT License. Converted from Markdown, with links normalized and embedded media omitted.
