GET v1/Users({UserId})/AssignedRoles
Returns All the Security Roles for a User
Information:
Base URL:
https://api.covasoft.net/usermanager
Example of a call would be:
https://api.covasoft.net/usermanager/v1/Users({UserId})/AssignedRoles
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| UserId |
The User Id for which you want Security Roles |
integer |
Required |
Body Parameters
None.
Response Information
Resource Description
All the Security Roles for a User
Collection of GetSecurityRolesByUserReturn| Name | Description | Type | Additional information |
|---|---|---|---|
| Id |
This is the Security Role Assignment Id |
integer |
None. |
| UserId | integer |
None. |
|
| SecurityRoleId | integer |
None. |
|
| EntityId | integer |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"Id": 1,
"UserId": 2,
"SecurityRoleId": 3,
"EntityId": 4
},
{
"Id": 1,
"UserId": 2,
"SecurityRoleId": 3,
"EntityId": 4
}
]