To test the calls on a live server:
curl -H "X-Auth-Token: $AUTH_TOKEN" $OS_AUTH_URL/users/$USERID/groups
and
openstack user list --group
To test the calls on a live server:
curl -H "X-Auth-Token: $AUTH_TOKEN" $OS_AUTH_ URL/users/ $USERID/ groups
and
openstack user list --group