Get Groups for Specified User

GET {{baseUrl}}/.api/api.svc/users/:userId/allusergroups

This endpoint returns the information of the groups a specified member is a part of.

HEADERS

| Key | Datatype | Required | Description | | Accept | string | | The type of response data to request. By default this endpoint will respond with XML.

The options are:

  • application/json
  • application/xml |

RESPONSES

status: OK

{"minRequestPeriod":0,"requestSupportCode":637756292538285263,"dictionary":null,"response":{"__type":"IglooList:http://schemas.iglooplatform.com/Igloo.Old.Common","startIndex":0,"count":3,"totalCount":"3","items":[{"__type":"userGroup:http://schemas.iglooplatform.com/Igloo.Old.Common","id":"{{$randomUUID}}","href":"","navType":0,"type":3,"communityId":"{{$randomUUID}}","name":"{{$randomDepartment}}","spaceId":"","numMembers":1,"ldapSynced":false,"spaceTitle":""},{"__type":"userGroup:http://schemas.iglooplatform.com/Igloo.Old.Common","id":"{{$randomUUID}}","href":"","navType":0,"type":2,"communityId":"{{$randomUUID}}","name":"{{$randomDepartment}}","spaceId":"","numMembers":9,"ldapSynced":false,"spaceTitle":""},{"__type":"userGroup:http://schemas.iglooplatform.com/Igloo.Old.Common","id":"{{$randomUUID}}","href":"","navType":0,"type":3,"communityId":"{{$randomUUID}}","name":"{{$randomDepartment}}","spaceId":"","numMembers":3,"ldapSynced":false,"spaceTitle":""}]}}