Get Role Details for user
POST/getRoles
This API can be used to get the list of all the roles.
This API call can be used to get the list and details of all the roles associated to the user.
The Authorization
must have Bearer
followed by Token
.
Optional params:
username
,
customproperty<1 to 60>
,
roletype
,
requestable
,
status
,
role_name
,
description
,
displayname
,
glossary
,
mininginstance
,
risk
,
updateuser
,
systemid
,
soxcritical
,
syscritical
,
level
,
priviliged
,
confidentiality
,
requestedObject
- contains users and/or entitlement_values
Request
Path Parameters
- multipart/form-data
Body
Responses
- 200
Get Role Details for user / Get Role Details
Response Headers
Access-Control-Allow-Credentials
string
Access-Control-Allow-Origin
string
Cache-Control
string
Connection
string
Date
string
Expires
string
Pragma
string
Referrer-Policy
string
Set-Cookie
string
Strict-Transport-Security
string
Transfer-Encoding
string
X-Content-Type-Options
string
X-Frame-Options
string
X-XSS-Protection
string
- application/json
- Schema
- Example (from schema)
- Get Role Details
- Get Role Details for user
Schema
Array [
Array [
]
]
Roledetails
object[]
userAccounts
object[]
{
"Roledetails": [
{
"confidentiality": "5",
"customproperty1": "jjjjjjjjjjj",
"customproperty10": "cp10",
"customproperty11": "",
"customproperty12": "",
"customproperty13": "",
"customproperty14": "",
"customproperty15": "",
"customproperty16": "",
"customproperty17": "",
"customproperty18": "",
"customproperty19": "",
"customproperty2": "",
"customproperty20": "",
"customproperty21": "",
"customproperty22": "",
"customproperty23": "",
"customproperty24": "",
"customproperty25": "",
"customproperty26": "",
"customproperty27": "",
"customproperty28": "",
"customproperty29": "",
"customproperty3": "",
"customproperty30": "cp30bh",
"customproperty31": "cp31",
"customproperty32": "",
"customproperty33": "",
"customproperty34": "",
"customproperty35": "",
"customproperty36": "cp36",
"customproperty37": "",
"customproperty38": "",
"customproperty39": "",
"customproperty4": "",
"customproperty40": "",
"customproperty41": "",
"customproperty42": "",
"customproperty43": "",
"customproperty44": "",
"customproperty45": "",
"customproperty46": "",
"customproperty47": "",
"customproperty48": "",
"customproperty49": "",
"customproperty5": "",
"customproperty50": "",
"customproperty51": "",
"customproperty52": "",
"customproperty53": "",
"customproperty54": "",
"customproperty55": "",
"customproperty56": "",
"customproperty57": "",
"customproperty58": "",
"customproperty59": "",
"customproperty6": "",
"customproperty60": "",
"customproperty7": "",
"customproperty8": "",
"customproperty9": "",
"defaultTimeFrameHrs": "",
"description": "this is description | | EnterPriseEnterPrise EnterPriseEnterPrise",
"displayname": "",
"endpointkey": "13",
"glossary": "",
"maxTimeFrameHrs": "",
"owner": [
"dbailey",
"lkrause"
],
"priviliged": "1",
"requestable": "true",
"risk": "",
"role_name": "EnterPrise",
"roletype": "4",
"showDynamicAttrs": "false",
"soxcritical": "3",
"status": "1",
"syscritical": "3",
"updatedate": "2019-02-01 00:04:21",
"updateuser": "1",
"userAccounts": [
{
"accountname": "johndoe",
"enddate": "",
"startdate": "2019-02-11 22:47:32"
}
],
"version": "79"
}
],
"displayCount": 1,
"errorCode": "0",
"msg": "Successful",
"totalCount": 1
}
{
"Roledetails": [
{
"Custom Property 1": "",
"Custom Property 10": "",
"Custom Property 11": "",
"Custom Property 12": "",
"Custom Property 13": "",
"Custom Property 14": "",
"Custom Property 15": "",
"Custom Property 16": "",
"Custom Property 17": "",
"Custom Property 18": "",
"Custom Property 19": "",
"Custom Property 2": "",
"Custom Property 20": "",
"Custom Property 21": "",
"Custom Property 22": "",
"Custom Property 23": "",
"Custom Property 24": "",
"Custom Property 25": "",
"Custom Property 26": "",
"Custom Property 27": "",
"Custom Property 28": "",
"Custom Property 29": "",
"Custom Property 3": "",
"Custom Property 30": "",
"Custom Property 31": "",
"Custom Property 32": "",
"Custom Property 33": "",
"Custom Property 34": "",
"Custom Property 35": "",
"Custom Property 36": "",
"Custom Property 37": "",
"Custom Property 38": "",
"Custom Property 39": "",
"Custom Property 4": "",
"Custom Property 40": "",
"Custom Property 41": "",
"Custom Property 42": "",
"Custom Property 43": "",
"Custom Property 44": "",
"Custom Property 45": "",
"Custom Property 46": "",
"Custom Property 47": "",
"Custom Property 48": "",
"Custom Property 49": "",
"Custom Property 5": "",
"Custom Property 50": "",
"Custom Property 51": "",
"Custom Property 52": "",
"Custom Property 53": "",
"Custom Property 54": "",
"Custom Property 55": "",
"Custom Property 56": "",
"Custom Property 57": "",
"Custom Property 58": "",
"Custom Property 59": "",
"Custom Property 6": "",
"Custom Property 60": "",
"Custom Property 7": "",
"Custom Property 8": "",
"Custom Property 9": "",
"UserDetails": [
"User Details Not Found"
],
"confidentiality": "",
"defaultTimeFrameHrs": "",
"description": "",
"displayname": "",
"endpointkey": "396",
"entitlement_valueKey": "",
"glossary": "",
"lastReviewedBy": "",
"lastReviewedCampaignName": "",
"maxTimeFrameHrs": "",
"owner": [
{
"ownername": "admin",
"rank": "1"
}
],
"priviliged": "",
"requestable": "true",
"risk": "",
"roleKey": 1310,
"roleState": "",
"role_name": "Feb7th1988Role",
"roletype": "4",
"showDynamicAttrs": "true",
"soxcritical": "",
"status": "1",
"syscritical": "",
"updatedate": "2023-02-08 09:18:08",
"updateuser": "1",
"version": 8
}
],
"displayCount": 1,
"errorCode": "0",
"msg": "Successful",
"totalCount": 1
}
{
"Roledetails": [
{
"confidentiality": "5",
"customproperty1": "jjjjjjjjjjj",
"customproperty10": "cp10",
"customproperty11": "",
"customproperty12": "",
"customproperty13": "",
"customproperty14": "",
"customproperty15": "",
"customproperty16": "",
"customproperty17": "",
"customproperty18": "",
"customproperty19": "",
"customproperty2": "",
"customproperty20": "",
"customproperty21": "",
"customproperty22": "",
"customproperty23": "",
"customproperty24": "",
"customproperty25": "",
"customproperty26": "",
"customproperty27": "",
"customproperty28": "",
"customproperty29": "",
"customproperty3": "",
"customproperty30": "cp30bh",
"customproperty31": "cp31",
"customproperty32": "",
"customproperty33": "",
"customproperty34": "",
"customproperty35": "",
"customproperty36": "cp36",
"customproperty37": "",
"customproperty38": "",
"customproperty39": "",
"customproperty4": "",
"customproperty40": "",
"customproperty41": "",
"customproperty42": "",
"customproperty43": "",
"customproperty44": "",
"customproperty45": "",
"customproperty46": "",
"customproperty47": "",
"customproperty48": "",
"customproperty49": "",
"customproperty5": "",
"customproperty50": "",
"customproperty51": "",
"customproperty52": "",
"customproperty53": "",
"customproperty54": "",
"customproperty55": "",
"customproperty56": "",
"customproperty57": "",
"customproperty58": "",
"customproperty59": "",
"customproperty6": "",
"customproperty60": "",
"customproperty7": "",
"customproperty8": "",
"customproperty9": "",
"defaultTimeFrameHrs": "",
"description": "this is description | | EnterPriseEnterPrise EnterPriseEnterPrise",
"displayname": "",
"endpointkey": "13",
"glossary": "",
"maxTimeFrameHrs": "",
"owner": [
"dbailey",
"lkrause"
],
"priviliged": "1",
"requestable": "true",
"risk": "",
"role_name": "EnterPrise",
"roletype": "4",
"showDynamicAttrs": "false",
"soxcritical": "3",
"status": "1",
"syscritical": "3",
"updatedate": "2019-02-01 00:04:21",
"updateuser": "1",
"userAccounts": [
{
"accountname": "johndoe",
"enddate": "",
"startdate": "2019-02-11 22:47:32"
}
],
"version": "79"
}
],
"errorCode": "0",
"msg": "Successful"
}