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:
groupName
Name of a group from which the user is
to be removed.Return value if successful: none
Necessary permissions:
permissionGlobalUserEdit
permission and be
direct or indirect owner
of each group from which the user
login
should be removed.Example:
CM>user withLogin jane removeFromGroups admins