ByCloud Docs
GuidesCLIAPISDK

Get user

bycloud iam users get --user_id <user_id> [flags]

Get details of a specific user in the organization

Options

--user_id

stringrequired

User ID

--output

(-o)

stringoptional

Output format: text, json, or yaml

Values: "text", "json", "yaml"

Default: "text"

Command

bycloud iam users get \
--user_id "abc-123"

Output

ID 550e8400-e29b-41d4-a716-446655440000
CRN crn::iam:user:550e8400-e29b-41d4-a716-446655440000
EMAIL john.doe@acme.com
NAME John Doe
ROLES
[0]
ID 550e8400-e29b-41d4-a716-446655440000
NAME string
[1]
ID 550e8400-e29b-41d4-a716-446655440000
NAME string
GROUPS
[0]
ID 550e8400-e29b-41d4-a716-446655440000
NAME string
[1]
ID 550e8400-e29b-41d4-a716-446655440000
NAME string
ADDED_AT 2024-01-15T10:30:00Z