user userRef revokeGlobalPermissions

Available for: Content Management Server

Task: Revokes the specified permissions of the user with the login login.

Syntax:

user withLogin login revokeGlobalPermissions {permission}

Function parameters:

  • permission designates a global permission.

Return value if successful: none

Necessary permissions:

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

Example:

CM>user withLogin jane revokeGlobalPermissions permissionGlobalRTCEdit