Get All User Groups

Gets the user groups for a given user.

Resource Information

Scope users
App Type Agency
Authorization Type Access token
URI /v4/users/{id}/groups?lang={lang}&fields={fields}
Automation Version(s) 9.0.0

Request Information

Field or Parameter Type Required Values Description Automation Version
fields string No   Comma-delimited names of fields to be returned in the response. Note: Field names are case-sensitive and only first-level fields are supported. Invalid field names are ignored. 9.0.0
lang String No   Indicates the language applied. 9.0.0
id string No   The userid. 9.0.0

Response Information

Field Type Description Automation Version
result result{} 9.0.0
result.firstName string The user's first name. 9.0.0
result.groups[] result.groups{} Contains the user groups a user belongs to. 9.0.0 long The unique identifier for the object, assigned by the Civic Platform server and provided in a response. 9.0.0
result.groups.moduleName string The name of the Accela solution offering that provides specialized functionality, for example; land management, planning, permitting, licensing, and so forth. 9.0.0 string The name of the user group. 9.0.0
result.lastName string The user's first name. 9.0.0
result.serviceProviderCode string The agency the user belongs to. 9.0.0
status integer The request status. 7.3.3