GET api/GetMenuListForUser?UserId={UserId}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
UserId | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
ApiResponseOfRoleRightsName | Description | Type | Additional information |
---|---|---|---|
Data | Collection of RoleRights |
None. |
|
Success | boolean |
None. |
|
Message | Collection of string |
None. |
Response Formats
application/json, text/json
Sample:
{ "Data": [ { "MenuId": 1, "MenuName": "sample string 2", "MenuLevel": 3, "ViewRight": true, "CreateRight": true, "EditRight": true, "DeleteRight": true }, { "MenuId": 1, "MenuName": "sample string 2", "MenuLevel": 3, "ViewRight": true, "CreateRight": true, "EditRight": true, "DeleteRight": true } ], "Success": true, "Message": [ "sample string 1", "sample string 2" ] }