Moab Accounting Manager > Appendices > Appendix A: Commands Reference > gchrole

gchrole

Synopsis

gchrole [-d <description>] [--add-user(s) <user_name>,...]... [--add-action(s) <object_name>-><action_name>[{<instance_name>}],...]... [--del-user(s) <user_name>,...]... [--del-action(s) <object_name>-><action_name>[{<instance_name>}],...]... [--debug] [--site <site_name>] [--help] [--man] [--quiet] [--verbose] [--version] {[-r] <role_name>}

Overview

gchaccount modifies a role. This can include adding or removing users from a role and adding removing actions from a role.

Options

-d
Format -d <description>
Default ---
Description Specifies a new description.
-r
Format [-r] <role_name>
Default ---
Description Specifies the name of the role to modify.
--add-action
Format --add-action <object_name>-><action_name>[{<instance_name>}][,<object_name>-><action_name>[{<instance_name>}]...]
Default ---
Description Adds actions to the role. You must specify the object, action and instance in the form shown. Unless specified, the instance will default to a value of ANY. You may pass multiple actions to the --add-action option in a comma-delimited list or by specifying multiple --add-action options.
--add-user
Format --add-user <user_name>[,<user_name>...]
Default ---
Description Adds users to the role. You may pass multiple users to the --add-user option in a comma-delimited list or by specifying multiple --add-user options.
--debug
Format --debug
Default ---
Description

Logs debug information to the screen.

--del-action
Format --del-action <object_name>-><action_name>[{<instance_name>}][,<object_name>-><action_name>[{<instance_name>}]...]
Default ---
Description Removes actions from a role. You must specify the object and action; however, the instance is optional. You may pass multiple actions to the --del-action option in a comma-delimited list or by specifying multiple --del-action options.
--del-user
Format --del-user <user_name>[,<user_name>...]
Default ---
Description Removes users from the role. You may pass multiple users to the --del-user option in a comma-delimited list or by specifying multiple --del-user options.
--help
Format --help
Default ---
Description

Displays a brief help message.

--man
Format --man
Default ---
Description

Displays full documentation.

--quiet
Format --quiet
Default ---
Description

Suppresses headers and success messages.

--site
Format --site <site_name>
Default ---
Description Obtains a response from specified site.
--verbose
Format --verbose
Default ---
Description

Displays modified object details.

--version
Format --version
Default ---
Description

Displays the product version.

Related topics

© 2014 Adaptive Computing