Get Flat Response Role Details For User
GET/getRoleDetailsforUsers
This API call can be used to get a flat response consisting of user details and details of all the roles the user has access to.
This API will return only the entitlement attributes which are not null or not empty.
The Authorization
must have Bearer
followed by Token
.
Optional params:
rolename
, roletype
, username
, userQuery
, roleQuery
, roleUserAccQuery
, max
(default - 100), offset
(default - 0)
Request
- application/json
Body
max string
offset string
roleQuery string
roleUserAccQuery string
rolename string
roletype string
userQuery string
username string
Responses
- 200
Get Role Details For User - Flat response
Response Headers
Access-Control-Allow-Credentials
string
Access-Control-Allow-Origin
string
Cache-Control
string
Date
string
Expires
string
Referrer-Policy
string
Server
string
Set-Cookie
string
Strict-Transport-Security
string
X-Content-Type-Options
string
X-Frame-Options
string
- application/json
- Schema
- Example (from schema)
- Get Role Details For User - Flat response
Schema
Array [
]
displayCount number
errorCode string
msg string
roleDetails
object[]
roledescription string
roledisplayname string
rolekey number
rolename string
rolestatus number
roletype number
userkey number
username string
userstatus number
totalCount number
{
"displayCount": 1,
"errorCode": "0",
"msg": "Successful",
"roleDetails": [
{
"roledescription": "Privileged access designed for content owners who need full access to CloudFront, S3, Glacier, Kinesis Firehose, App Streams and Cloud Search.",
"roledisplayname": "Content Administrator",
"rolekey": 3,
"rolename": "Content Administrator:661222050851",
"rolestatus": 1,
"roletype": 3,
"userkey": 27,
"username": "U020966",
"userstatus": 1
}
],
"totalCount": 1
}
{
"displayCount": 1,
"errorCode": "0",
"msg": "Successful",
"roleDetails": [
{
"roledescription": "Privileged access designed for content owners who need full access to CloudFront, S3, Glacier, Kinesis Firehose, App Streams and Cloud Search.",
"roledisplayname": "Content Administrator",
"rolekey": 3,
"rolename": "Content Administrator:661222050851",
"rolestatus": 1,
"roletype": 3,
"userkey": 27,
"username": "U020966",
"userstatus": 1
}
],
"totalCount": 1
}
Loading...