GLOBUS WHOAMI
OPTIONS
- --linked-identities
-
Also show identities linked to the currently logged-in primary identity.
- -v, --verbose
-
Control level of output, make it more verbose.
- --quiet
-
Suppress non-essential output. This is higher precedence than
--verbose
. - -h, --help
-
Show this message and exit.
-
-F, --format
[unix|json|text]
-
Output format for stdout. Defaults to text.
-
--jmespath, --jq
TEXT
-
A JMESPath expression to apply to json output. Forces the format to be json processed by this expression.
OUTPUT
Note: this output is not affected by sessions in any way. For information on which of your identities are in session use globus session show
If no options are given the default output is just the preferred username of the logged in identity.
If --linked-identities is given the output will be each username in the logged-in user’s identity set.
If --verbose is given, the following fields will be output, either in a record format or a table format if --linked-identities is also given.
-
'Username'
-
'Name'
-
'ID'
-
'Email'
EXAMPLES
Display multiple fields of the current user’s information:
$ globus whoami -v
Display each username in the current user’s identity set:
$ globus whoami --linked-identities
EXIT STATUS
0 on success.
1 if an error occurred.
2 if the command was used improperly.
3 if the command was used on the wrong type of object, e.g. a collection command used on an endpoint.
4 if the command has authentication or authorization requirements which were not met, as in ConsentRequired errors or missing logins.