users

The users command allows you to view user resources.

Usage: croud users [-h] {list,roles} ...

users list

Warning

The commands listed in this section (users list) are for internal use by CrateDB and CrateDB Cloud staff only. They are listed here only to clarify their function, since they appear in the full commands list available under --help.

Usage: croud users list [-h] [--no-roles] [--no-org] [--region REGION]
                        [--output-fmt {table,wide,json,yaml}] [--sudo]

Optional Arguments

--no-roles

List users without roles.

Default: False

--no-org

Only show users that are not part of any organization.

Default: False

--region, -r Temporarily use the specified region that command will be run in.
--output-fmt, --format, -o
 

Possible choices: table, wide, json, yaml

Change the formatting of the output.

--sudo

Run the given command as superuser.

Default: False

Example

sh$ croud users list
+-------------------------------+---------------------------------------------------+-------------------------------------------------------+--------------------------------------+----------+
| email                         | organization_roles                                | project_roles                                         | uid                                  | username |
|-------------------------------+---------------------------------------------------+-------------------------------------------------------+--------------------------------------+----------|
| john.doe@example.com          | f167c730-1d3e-477d-a4d9-d0cb6fc51002: org_admin,  | 1e522925-caf3-4d14-9b1b-4d2e9535eb62: project_member  | 1b1e572c-5880-4e40-befd-aaaed87e74ee | john.doe |
|                               | 5364bbac-d3ed-4f45-8579-c7f7779ca343: org_admin   |                                                       | 1b1e572c-5880-4e40-befd-aaaed87e74ee |          |
| jane.doe@example.net          | f167c730-1d3e-477d-a4d9-d0cb6fc51002: org_member, | 1e522925-caf3-4d14-9b1b-4d2e9535eb62: project_admin,  | af84d62a-633f-4a7d-bab5-2cdcf5f6c6b6 | jane.doe |
|                               | 5364bbac-d3ed-4f45-8579-c7f7779ca343: org_admin   | 7322af2c-bdef-4be3-be8d-857fcb61c16f: project_member, | af84d62a-633f-4a7d-bab5-2cdcf5f6c6b6 |          |
|                               |                                                   | 9cfd05b3-65df-4cb8-bf90-1c192fa8904c: project_member  | af84d62a-633f-4a7d-bab5-2cdcf5f6c6b6 |          |
+-------------------------------+---------------------------------------------------+-------------------------------------------------------+--------------------------------------+----------+

users roles

Usage: croud users roles [-h] {list} ...

Tip

See User Roles for more information about the different roles.

users roles list

Usage: croud users roles list [-h] [--region REGION]
                              [--output-fmt {table,wide,json,yaml}] [--sudo]

Optional Arguments

--region, -r Temporarily use the specified region that command will be run in.
--output-fmt, --format, -o
 

Possible choices: table, wide, json, yaml

Change the formatting of the output.

--sudo

Run the given command as superuser.

Default: False

Example

sh$ croud users roles list
+----------------+---------------------+
| fqn            | friendlyName        |
|----------------+---------------------|
| org_admin      | Organization Admin  |
| org_member     | Organization Member |
| project_admin  | Project Admin       |
| project_member | Project Member      |
+----------------+---------------------+

Feedback

How helpful was this page?