mc admin user info

Displays information for a specified user.

Syntax

CLI
mc admin user info TARGET USERNAME [account=<account name> domain=<domain name>]

FLAGS:
  --json                        enable JSON lines formatted output
  --debug                       enable debug output
  --insecure                    disable SSL certificate verification
  --help, -h                    show help

Parameters

Parameter Description
TARGET The alias of a configured HPE Ezmeral Object Store from which the command retrieves the user information. This parameter is mandatory.
USERNAME The user name for which to retrieve the information. This parameter is mandatory.
account The name of the account to which the user belongs. The account is assumed to be the default account, if you do not specify this parameter.
domain The name of the domain under which the account exists.
json Enables JSON formatted output
debug Enables output for debugging
insecure Disables SSL verification
help Shows this help

Examples

  1. List user information for user joe from the default account in the Object Store deployment with alias salesobject.
    CLI
    /opt/mapr/bin/mc admin user info salesobject joe
  2. List user information for user joe from the northamerica account in the Object Store deployment with alias salesobject.
    CLI
    /opt/mapr/bin/mc admin user info salesobject joe account='northamerica'