cloud users permissions get
Overview
Get the permissions of a user or all the users in the organisation
Aliases: get
Usage:
Arguments:
<user-id>
: id of the user
Options:
-o, --output <json|table>
: Output type of the retrieved data--raw
: Prints the array of permission assignments in the format "[{Scope, Role}, {Scope, Role}, ...]"
How It Works
The quix cloud user permissions get
command retrieves the permissions of a specified user or all users in the organization. This command allows you to view the roles and scopes assigned to users.
Example Usage
Interactive Mode
$ quix cloud users permissions get
? Select user:
> john.doe@example.com John Doe
jane.doe@example.com Jane Doe
user1@example.com User One
user2@example.com User Two
user3@example.com User Three
✓ User: john.doe@example.com
Scope | Role
--------------------|-------
Organisation:myorg | Admin
Non-Interactive Mode
$ quix cloud users permissions get <userId>
Scope | Role
--------------------|-------
Organisation:myorg | Admin
Tip
To get the user ID, you can use this command.
Note
You can use the --output
option to customize the format of the output.