mongocli iam users describe
On this page
This version of the documentation is archived and no longer supported. View the current documentation to learn how to upgrade your version of MongoCLI.
Get a user by username or id.
Syntax
mongocli iam users describe [options]
Options
Name | Type | Required | Description |
---|---|---|---|
-h, --help | false | help for describe | |
--id | string | false | The ID of the user. |
-o, --output | string | false | Output format.
Valid values: json|json-path|go-template|go-template-file |
--username | string | false | Username of the user. |
Inherited Options
Name | Type | Required | Description |
---|---|---|---|
-P, --profile | string | false | Profile to use from your configuration file. |
Examples
Describe a user by ID $ mongocli iam users describe --id <id> Describe a user by username $ mongocli iam users describe --username <username>