GET api/IdentityRole
Gets a list of role.
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
Collection of IdentityRoleName | Description | Type | Additional information |
---|---|---|---|
RoleId | string |
None. |
|
RoleName | string |
None. |
|
NormalizedName | string |
None. |
|
ConcurrencyStamp | string |
None. |
|
UserCount | integer |
None. |
|
AutoCompleteText | string |
None. |
Response Formats
application/json, text/json
Sample:
[ { "RoleId": "sample string 1", "RoleName": "sample string 2", "NormalizedName": "sample string 3", "ConcurrencyStamp": "sample string 4", "UserCount": 1, "AutoCompleteText": "sample string 5" }, { "RoleId": "sample string 1", "RoleName": "sample string 2", "NormalizedName": "sample string 3", "ConcurrencyStamp": "sample string 4", "UserCount": 1, "AutoCompleteText": "sample string 5" } ]
application/xml, text/xml
Sample:
<ArrayOfIdentityRole xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CustomersdbWebShared.Models"> <IdentityRole> <AutoCompleteText>sample string 5</AutoCompleteText> <ConcurrencyStamp>sample string 4</ConcurrencyStamp> <NormalizedName>sample string 3</NormalizedName> <RoleId>sample string 1</RoleId> <RoleName>sample string 2</RoleName> <UserCount>1</UserCount> </IdentityRole> <IdentityRole> <AutoCompleteText>sample string 5</AutoCompleteText> <ConcurrencyStamp>sample string 4</ConcurrencyStamp> <NormalizedName>sample string 3</NormalizedName> <RoleId>sample string 1</RoleId> <RoleName>sample string 2</RoleName> <UserCount>1</UserCount> </IdentityRole> </ArrayOfIdentityRole>