Skip to main content

List the roles for a group

GET 

/api/v1/UserRole/Group/:groupId

Returns the Administrator and Reviewer roles, each with a flag showing whether this group has it. The None role is never listed. Use it to see which roles are assigned.

Permission required: Admin role.

Values for roles: 0 = None, 50 = Administrator, 150 = Reviewer.

Caution: The response shows whether this group holds the Administrator role.

Request​

Responses​

A table of roles. Each entry has an id and a roleName (both the role name, such as Administrator) and isAssigned. recordsTotal is the number of entries returned.