User Role
Manage the roles assigned to users.
List the roles for a group
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.
Add roles to a group
Adds the roles in the body to the group and returns the roles that result.
Remove roles from a group
Removes the roles in the body from the group and returns the roles that result.
List the roles for a user
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.
Add roles to a user
Adds the roles in the body to the user and returns the role numbers the user now holds. Adding the Administrator role, or the Reviewer role to a user who is not yet a reviewer, also records an event.
Remove roles from a user
Removes the roles in the body from the user and returns the role numbers the user still holds. Removing the Administrator role, or the Reviewer role from a user who is a reviewer, also records an event.