Available for: Content Management Server
Task: Removes the user with the login
login from the specified groups.
Additional information: A user cannot be removed from his default group.
Syntax:
user withLogin login removeFromGroups {groupName}
Function parameters:
-
groupNameName of a group from which the user is to be removed.
Return value if successful: none
Necessary permissions:
- The logged-in user must be a super user or
- must have the
permissionGlobalUserEditpermission and be direct or indirectownerof each group from which the userloginshould be removed.
Example:
CM>user withLogin jane removeFromGroups admins