GET api/UserRoleAssign?u={u}&t={t}&d={d}
获取用户角色
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| u | integer |
Required |
|
| t | string |
Required |
|
| d | string |
Required |
Body Parameters
None.
Response Information
Resource Description
获取用户角色
Collection of UserRoleDto| Name | Description | Type | Additional information |
|---|---|---|---|
| RoleID |
角色ID |
globally unique identifier |
None. |
| CategoryID |
节点ID |
string |
None. |
| CompanyName |
单位名称 |
string |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"RoleID": "8aa91123-7f93-4e76-812f-0806f1e19a7e",
"CategoryID": "sample string 2",
"CompanyName": "sample string 3"
},
{
"RoleID": "8aa91123-7f93-4e76-812f-0806f1e19a7e",
"CategoryID": "sample string 2",
"CompanyName": "sample string 3"
}
]