Skip to main content

List local groups an account belongs to

GET 

/api/v1/Group/ForUser/:userId

Returns the groups that the specified host account belongs to, on hosts that are managed resources. Use it to show an account's local group memberships.

Permission required: Administrator role or application role.

Request​

Responses​

A list of groups, each with id, name, hostId, hostName, managedResourceId, managedResourceName and managedResourceDisplayName. A group on a host with several managed resources appears once per managed resource. The list is empty when the account has no matching groups.