GET api/UserManager/GetPermissions/{id}
Getting permission
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id |
Role ID |
integer |
Required |
Body Parameters
None.
Response Information
Resource Description
Result containing grouped permissions
ObjResultOfGroupPerm[]Name | Description | Type | Additional information |
---|---|---|---|
Data | Collection of GroupPerm |
None. |
|
Error |
Error description |
string |
None. |
Success |
Flag of successful operation |
boolean |
None. |
ErrorCode |
Error code |
integer |
None. |
Response Formats
application/json, text/json
Sample:
{ "data": [ { "name": "sample string 1", "permissions": [ { "id": 1, "name": "sample string 2", "enabled": true }, { "id": 1, "name": "sample string 2", "enabled": true } ] }, { "name": "sample string 1", "permissions": [ { "id": 1, "name": "sample string 2", "enabled": true }, { "id": 1, "name": "sample string 2", "enabled": true } ] } ], "error": "sample string 1", "success": true, "errorCode": 3 }