MemberTobeRemoved As String
[in] String MemberTobeRemoved
Name of a user to be removed from a group, for example, John.
Removes a member from a group, usually a user or another global group (in case of a local group).
If you are removing a user or a group from a local group you must give the fully qualified name, for example, "DomainName\User" for global user and "ComputerName\User" a for local user.
Dim GroupObject As
Set GroupObject = GetObject("NTDS://YourDomainName/GroupName")