osc identity user groups

Lists groups to which a user belongs.

Relationship: https://docs.openstack.org/api/openstack-identity/3/rel/user_groups

Usage: osc identity user groups <--user-name <USER_NAME>|--user-id <USER_ID>|--current-user>

Options:

  • --user-name <USER_NAME> — User Name
  • --user-id <USER_ID> — User ID
  • --current-user — Current authenticated user