Available for: Content Management Server
Task: Checks whether the user with the
login
login is a super user.
Additional information: A user is a super user if his/her login
is ”root”, if he/she has the permissionGlobalRoot
permissions or if
he/she is member of a group which has this permission. This command has the same
result as the user withLogin login hasGlobalPermission
permissionGlobalRoot
command.
Syntax:
user withLogin login isSuperUser
Function parameters: none
Return value if successful: 1 if the user is a super user, otherwise 0.
Necessary permissions: none
Example:
CM>user withLogin jane isSuperUser 1