Docs Menu
Docs Home
/ /
MongoDB Command Line Interface
/ / /

mongocli iam users describe

On this page

  • Syntax
  • Options
  • Inherited Options
  • Examples

Get a user by username or id.

mongocli iam users describe [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.
Name
Type
Required
Description
-P, --profile
string
false
Profile to use from your configuration file.
Describe a user by ID
$ mongocli iam users describe --id <id>
Describe a user by username
$ mongocli iam users describe --username <username>

Back

delete