Gets all user groups for a specified user identifier.
uid | User identifier required to get all user groups |
Requires one of the following roles:
NAMESPACE_ADMIN
SYSTEM_ADMIN
List of user groups for specified user
Field | Description | Type | Notes |
user_groups | |||
swift_password_configured | Boolean | ||
groups_list | List of ADMIN group names. | String |
0-* Elements |
GET https://192.168.0.0:4443/object/user-password/wuser1@sanity.local HTTP/1.1 Content-Type: application/xml X-SDS-AUTH-TOKEN: <AUTH_TOKEN>
HTTP/1.1 200 OK Content-Type: application/xml <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <user_groups> <groups_list>admin</groups_list> </user_groups>