Get Application Roles Provisioning Report
/essbase/rest/v1/users/{userId}/provisionReport/applications/{application}/roles
Get a roles provisioning report for the specified application. The logged in user must have at least Application Manager role for the application.
If you are using EPM Shared Services security mode, this operation is not available. Instead, manage users, groups, and permissions in the Shared Services Console.
Request
-
application: string
Application name.
-
userId: string
User ID.
Response
- application/json
- application/xml
200 Response
OK
Provisioning report returned successfully.
object
-
count(optional):
integer(int64)
-
hasMore(optional):
boolean
-
items(optional):
array items
-
limit(optional):
integer(int64)
-
links(optional):
array links
-
offset(optional):
integer(int64)
-
properties(optional):
object properties
Additional Properties Allowed: additionalProperties
-
totalResults(optional):
integer(int64)
object
-
inheritedFromGroups(optional):
array inheritedFromGroups
Unique Items Required:
true
-
name(optional):
string
400 Response
Bad Request
The logged in user may not have the appropriate application role.
404 Response
Not Found
User not found.
500 Response
Internal Server Error.
Examples
The following example shows how to get an application's roles provisioning report for a user.
This example uses cURL to access the REST API from a Windows shell script. The calling user's ID and password are variables whose values are set in properties.bat
.
Script with cURL Command
call properties.bat
curl -X GET "https://myserver.example.com:9001/essbase/rest/v1/users/User002/provisionReport/applications/Sample/roles" -H "accept: application/json" -u %User%:%Password%
Example of Response Body
{
"items": [
{
"name": "db_update"
}
]
}