osc identity domain user role show
Check if a user has a specific role on the domain.
GET/HEAD /v3/domains/{domain_id}/users/{user_id}/roles/{role_id}
Usage: osc identity domain user role show <--domain-name <DOMAIN_NAME>|--domain-id <DOMAIN_ID>|--current-domain> <--user-name <USER_NAME>|--user-id <USER_ID>|--current-user> <ID>
Arguments:
<ID>
— role_id parameter for /v3/domains/{domain_id}/users/{user_id}/roles/{role_id} API
Options:
--domain-name <DOMAIN_NAME>
— Domain Name--domain-id <DOMAIN_ID>
— Domain ID--current-domain
— Current domain--user-name <USER_NAME>
— User Name--user-id <USER_ID>
— User ID--current-user
— Current authenticated user