mongocli iam user get

Get a user by username or id

Options

NameDescription
--id <id>Unique identifier of the user
--output, -o <output>Output format. Valid values are json, json-path, go-template, or go-template-file
--username <username>Username of the user