set-library-permissions
Sets permissions on a library item.
set-library-permissions
[-b value | --bootstrap-config=value]
[-t value | --tool-password=value]
[-p value | --library-item-path=value]
[-i value | --library-item-id=value]
{-Uvalue}
{-Gvalue}
Overview
Use this command to set explicit permissions on a library item.
Note: All previous permissions will be overwritten so the complete set
of permissions must be included for all applicable users and groups.
Library ID (--library-item-id
) and library
path (--library-item-path
) are mutually exclusive arguments,
so make sure you provide only one of them during execution.
Options
Option | Optional or Required | Default Value | Description |
---|---|---|---|
|
Optional | none | The path to the bootstrap configuration file. See Bootstrap.xml file for more information about this file. |
|
Optional | none | The configuration tool password used to decrypt the database password in the bootstrap.xml file. If the tool password is omitted, the command will prompt the end-user for it on the console. See Bootstrap.xml file help topic for more information. |
|
Optional | none | The path to the library item that permissions should be set on. |
|
Optional | none | The ID/identifier to the library item that permissions should be set on. |
|
Optional | none | A user permission formatted as
user=Permissions where the applicable permissions are O=Owner, W=Write, R=Read
and E=Execute. For example, 'user1=RW '.
Unless the user is part of the configured default domain,
the name of the user must include the user's domain name. For example,
' This argument can be specified multiple times with different values. |
|
Optional | none | A group permission formatted as
group=Permissions where applicable permissions are O=Owner, W=Write, R=Read and
E=Execute. For example, 'group1=RW '.
Unless the group is part of the configured default domain,
the name of the user must include the group's domain name. For example,
' This argument can be specified multiple times with different values. |
Parent topic: Command-line reference