obj objRef permission revokeFrom

Available for: Content Management Server

Task: The specified permission for the respective file is revoked for the specified group.

Syntax:

obj (withId objId) | (withPath path) | root permission permission revokeFrom group {group}

Function parameters:

  • permission specifies the permission to be revoked from the group. The validPermissions file parameter returns the names of the existing file permissions.

  • group specifies the name of the group the permission is to be revoked from.

Return value if successful: none

Necessary permissions (CM only): The user must have the permissionRoot permission for the specified file.

Example:

CM>obj withId 41735 permission permissionCreateChildren revokeFrom editors