mongocli iam users describe
On this page
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 | Unique identifier of the user. |
-o, --output | string | false | Output format. Valid values are json, json-path, go-template, or 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>