Download HP DL380-SL Command Reference Guide
Transcript
Chapter 3: mx Commands 58 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> ...