TIBCO Spotfire® Server and Environment - Installation and Administration

copy-library-permissions

Copy library permissions from one principal to another.

copy-library-permissions 
[-b value | --bootstrap-config=value] 
[-t value | --tool-password=value] 
[-u value | --oldusername=value] 
[-g value | --oldgroupname=value] 
[-n value | --newusername=value] 
[-p value | --newgroupname=value]

Overview

Use this command to copy library permissions from an existing user or group to another existing user or group. Only one existing principal to copy from should be given and only one principal to copy to should be given. The principal will only get permissions that it does not already have.
Note: This will not be logged to the Action Log.
Note: A permission entry, for example "Browse + Access", counts as two permission entries when summing up how many new permissions have been added.
Note: Only explicit permissions will be copied (permissions explicitly set for a certain principal, and not permissions given through group membership).

Options

Option Optional or Required Default Value Description
-b value
--bootstrap-config=value
Optional none The path to the bootstrap configuration file. See Bootstrap.xml file for more information about this file.
-t value
--tool-password=value
Optional none The configuration tool password used to decrypt the database password in the file bootstrap.xml. If the tool password is omitted, the command prompts the user for it in the console. See Bootstrap.xml file.
u value
--oldusername=value
Optional none The name of an existing user to copy library permissions from. Unless the user is part of the configured default domain, the name of the user must include the user's domain name ('DOMAIN\user' or 'user@domain').
g value
--oldgroupname=value
Optional none The name of an existing group to copy library permissions from. Unless the group is part of the configured default domain, the name of the group must include the group's domain name ('DOMAIN\group' or 'group@domain').
n value
--newusername=value
Optional none The name of an existing user to copy library permissions to. Unless the user is part of the configured default domain, the name of the user must include the user's domain name ('DOMAIN\user' or 'user@domain').
p value
--newgroupname=value
Optional none The name of an existing group to copy library permissions to. Unless the group is part of the configured default domain, the name of the group must include the group's domain name ('DOMAIN\group' or 'group@domain').