AD.Group.RemoveObject
Top  Previous  Next


Removes objects (groups, users) from a group

Category
Active Directory

Script section
All

AD.Group.RemoveObject
GroupADPath, ObjectADPath

GroupADPath
Full AD path to group from which to remove object  

ObjectADPath
Full AD path to account or group to remove  

Example
Remove the account "steve" from the group myGroup in the myOU OU of domain d2.acme.com

AD.Group.RemoveObject dc=com/dc=acme/dc=d2/ou=myOU/cn=myGroup, dc=com/dc=acme/dc=d2/ou=myOU/cn=steve