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
- 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
Date
string
Expires
string
Referrer-Policy
string
Set-Cookie
string
Strict-Transport-Security
string
X-Content-Type-Options
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": [
{
"customproperty1": "",
"customproperty10": "",
"customproperty11": "",
"customproperty12": "",
"customproperty13": "",
"customproperty14": "",
"customproperty15": "",
"customproperty16": "",
"customproperty17": "",
"customproperty18": "",
"customproperty19": "",
"customproperty2": "",
"customproperty20": "",
"customproperty21": "",
"customproperty22": "",
"customproperty23": "",
"customproperty24": "",
"customproperty25": "",
"customproperty26": "",
"customproperty27": "",
"customproperty28": "",
"customproperty29": "",
"customproperty3": "",
"customproperty30": "",
"customproperty31": "",
"customproperty32": "",
"customproperty33": "",
"customproperty34": "",
"customproperty35": "",
"customproperty36": "",
"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": "",
"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"
}