getUserGroups


Fetches all the groups to which a user belongs.

Parameters

Name Description
userID required User id of the user who is being targeted.
page optional The page of results to display.
perPage optional The number of results to display per page.
tierID optional Tier ID.
status optional The status of the user.
output optional The response output format. Accepts JSON and XML.

Request Syntax

https://services.onesite.com/rest/svcUsers?action=getUserGroups&page=1&perPage=2&userID=229928503&nodeID=188234&devkey=[devkey]

JSON Response