users

The users command allows you to view user resources.

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

users roles

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

Tip

See User Roles for more information about the different roles.

users roles list

List all available roles.

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      |
+----------------+---------------------+

users list

Note

This command is only available for superusers.

Lists all users in an organization.

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
+--------------------------------------+-------------------------------+----------+---------------------------------------------------+-------------------------------------------------------+
| uid                                  | email                         | username | organization_roles                                | project_roles                                         |
|--------------------------------------|-------------------------------+----------+---------------------------------------------------+-------------------------------------------------------|
| 1b1e572c-5880-4e40-befd-aaaed87e74ee | john.doe@example.com          | john.doe | f167c730-1d3e-477d-a4d9-d0cb6fc51002: org_admin,  | 1e522925-caf3-4d14-9b1b-4d2e9535eb62: project_member  |
| 1b1e572c-5880-4e40-befd-aaaed87e74ee |                               |          | 5364bbac-d3ed-4f45-8579-c7f7779ca343: org_admin   |                                                       |
| af84d62a-633f-4a7d-bab5-2cdcf5f6c6b6 | jane.doe@example.net          | jane.doe | f167c730-1d3e-477d-a4d9-d0cb6fc51002: org_member, | 1e522925-caf3-4d14-9b1b-4d2e9535eb62: project_admin,  |
| af84d62a-633f-4a7d-bab5-2cdcf5f6c6b6 |                               |          | 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  |
+--------------------------------------+-------------------------------+----------+---------------------------------------------------+-------------------------------------------------------+