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
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
Pragma
string
Referrer-Policy
string
Server
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 For User - Flat response
Schema
Array [
]
roleDetails
object[]
{
"displayCount": 1,
"errorCode": "0",
"msg": "Successful",
"roleDetails": [
{
"roledescription": "Privileged access designed for content owners who need full access to CloudFront, S3, Glacier,\nKinesis 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,\nKinesis 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
}