4.1.0 HP PolyServe Software command reference guide (T5392-96071, October 2010)
This command associates a role with a specific user or group account. The user or
group will be granted the cluster authorization assigned to the role.
The options are:
--form <ID|NAME>
Whether the account is specified by name or ID. The default is NAME.
--type <GROUP|UNKNOWN|USER>
Whether the account is for a user or group, or is unknown. The default is GROUP.
listroles—List the role memberships of an account
mx account listroles [--form <ID|NAME>] [--type
<GROUP|UNKNOWN|USER>] [--effective] [--noHeaders] [--csv]
[--showBorder] [<account>]
This command lists the roles to which the account belongs. To show information for
the current user, omit the account parameter.
The options are:
--type <GROUP|UNKNOWN|USER>
Whether the account is for a user or group, or is unknown. The default is GROUP.
[--form <ID|NAME>]
Whether the account is specified by name or ID. The default is NAME.
[--effective]
Display the effective rights for the account. This option can be used only with the
account that is authenticated to run the command. You can view only your own
effective rights.
[--noHeaders]
Do not display column headers in the output.
[--csv]
Display the output in comma-separated value format.
[--showBorder]
Show a table border in the output.
removerole—Remove a role from an account
mx account removerole --form <ID|NAME> --type
<GROUP|UNKNOWN|USER> <account> <role> ...
This command removes the specified role from a specific user or group account. The
user or group will no longer have the cluster authorization assigned to the role.
mx commands68