osc identity group user set

Adds a user to a group.

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

Usage: osc identity group user set <--user-name <USER_NAME>|--user-id <USER_ID>|--current-user> <GROUP_ID>

Arguments:

  • <GROUP_ID> — group_id parameter for /v3/groups/{group_id}/users/{user_id} API

Options:

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