group groupRef removeUsers

Available for: Content Management Server

Task: Removes the users with the specified logins from the user group with the name name.

Additional information: A user cannot be removed from his default group.

Syntax:

group withName name removeUsers {login}

Function parameters:

  • login: Login of the user to be removed from the group

Return value if successful: none

Necessary permissions:

  • The logged-in user must be a super user or
  • The logged-user must have the permissionGlobalUserEdit permission and be the direct or indirect owner of the name group.

Example:

CM>group withName admins removeUsers steve