Available for: Content Management Server
Task: Grants the specified permissions to the user with the
login login.
Syntax:
user withLogin login grantGlobalPermissions {permission}
Function parameters:
-
permission: The designation for a global permission. The global permissions which are permitted are given in the system configuration under thecontent.globalPermissionskey.
Return value if successful: none
Necessary permissions:
- The logged-in user must be a super user or
- have the
permissionGlobalUserEditpermission and be the direct or indirectownerof theloginuser.
Example:
CM>user withLogin jane grantGlobalPermissions permissionGlobalRoot