mongocli iam users invite
On this page
Invite a user.
Syntax
mongocli iam users invite [options]
Options
Name | Type | Required | Description |
---|---|---|---|
--country | string | false | The ISO 3166-1 alpha two-letter country code of the user's country of residence. |
--email | string | true | User's email address. |
--firstName | string | true | User's first name. |
-h, --help | false | help for invite | |
--lastName | string | true | User's last name. |
--mobile | string | false | The user's mobile or cell phone number. |
--orgRole | strings | false | User's roles for the associated organization. |
-o, --output | string | false | Output format. Valid values are json, json-path, go-template, or go-template-file. |
--password | string | false | User's password. |
--projectRole | strings | false | User's roles for the associated project. |
--username | string | true | Username of the user. |
Inherited Options
Name | Type | Required | Description |
---|---|---|---|
-P, --profile | string | false | Profile to use from your configuration file. |