GET api/Members/Roles
Get a list of roles
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
Dictionary of roles. Key = Role ID, Value = Role Name
Collection of Pair of UserVillageRole [key] and string [value]Response Formats
application/json, text/json
Sample:
[ { "Key": 0, "Value": "sample string 1" }, { "Key": 0, "Value": "sample string 1" } ]
application/xml, text/xml
Sample:
<ArrayOfKeyValuePairOfUserVillageRolestringy2sqAOX_S xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/System.Collections.Generic"> <KeyValuePairOfUserVillageRolestringy2sqAOX_S> <key>Revoked</key> <value>sample string 1</value> </KeyValuePairOfUserVillageRolestringy2sqAOX_S> <KeyValuePairOfUserVillageRolestringy2sqAOX_S> <key>Revoked</key> <value>sample string 1</value> </KeyValuePairOfUserVillageRolestringy2sqAOX_S> </ArrayOfKeyValuePairOfUserVillageRolestringy2sqAOX_S>