Skip to main content

List the roles for a user

GET 

/api/v1/UserRole/User/:userId

Returns the Administrator and Reviewer roles, each with a flag showing whether this user 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 user 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.