[{"label":"Latest (V1)","version":"latest"}]
horizon-cloud-nextgen
Get Groups By User ID
DescriptionFetches list of groups user is part of
Request
URLURL
https://cloud.vmwarehorizon.com/auth/v1/admin/user/{userId}/groups
Path Parameters
Path Parameters
string
userId
Required
Query Parameters
Query Parameters
string
org_id
Optional
Response
Response
Response BodyResponse Body
200 OK
Returns
GroupsResponse
of type */*
{
"groups": [
{
"displayName": "aduser1",
"id": "id-12345",
"onPremisesDomainName": "horizonv2.local",
"onPremisesSecurityIdentifier": "S-1-5-21-2502306595",
"securityIdentifier": "S-1-12-1-2011878264"
}
],
"nextLink": "string"
}
string
nextLink
Optional
Link to the next page of user groups when pagination is used
No error details were provided in the OpenAPI specification.
Code SamplesCode Samples
cURL Command
curl https://cloud.vmwarehorizon.com/auth/v1/admin/user/{userId}/groups
[{"label":"Latest (V1)","version":"latest"}]
horizon-cloud-nextgen
On This Page
Auth Operations
get
delete
delete
post
get
get
get
get
post
post
patch
post
post