GET api/v1/VisualReports/Role/GetUserRoles?lUserId={lUserId}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
lUserId | integer |
Required |
|
version | string |
None. |
Body Parameters
None.
Response Information
Resource Description
Collection of RoleName | Description | Type | Additional information |
---|---|---|---|
RoleName | string |
None. |
|
RoleID | integer |
None. |
|
IsUserInRole | boolean |
None. |
|
IsSelected | boolean |
None. |
|
IsMenuselected | integer |
None. |
|
IsDefault | integer |
None. |
Response Formats
application/json, text/json
Sample:
[ { "RoleName": "sample string 1", "RoleID": 2, "IsUserInRole": true, "IsSelected": true, "IsMenuselected": 5, "IsDefault": 6 }, { "RoleName": "sample string 1", "RoleID": 2, "IsUserInRole": true, "IsSelected": true, "IsMenuselected": 5, "IsDefault": 6 } ]
text/html
Sample:
[{"RoleName":"sample string 1","RoleID":2,"IsUserInRole":true,"IsSelected":true,"IsMenuselected":5,"IsDefault":6},{"RoleName":"sample string 1","RoleID":2,"IsUserInRole":true,"IsSelected":true,"IsMenuselected":5,"IsDefault":6}]
text/xml
Sample:
<ArrayOfRole xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ShotClassCore.Models"> <Role> <IsDefault>6</IsDefault> <IsMenuselected>5</IsMenuselected> <IsSelected>true</IsSelected> <IsUserInRole>true</IsUserInRole> <RoleID>2</RoleID> <RoleName>sample string 1</RoleName> </Role> <Role> <IsDefault>6</IsDefault> <IsMenuselected>5</IsMenuselected> <IsSelected>true</IsSelected> <IsUserInRole>true</IsUserInRole> <RoleID>2</RoleID> <RoleName>sample string 1</RoleName> </Role> </ArrayOfRole>