Get Service Role Provisioning

get

/permissions/{id}

Retrieve Essbase service role provisioning information. Service roles include Service Administrator, Power User, and User.

If you are using EPM Shared Services security mode, this operation is not available. Instead use Shared Services Console to manage users, groups, and permissions.

See Also: Get Application Role Provision.

Request

Path Parameters
Query Parameters
  • If true, ID is for a group. If false, ID is for a user. Default is false (ID is for a user.)

Back to Top

Response

200 Response

OK

Provisioning information returned successfully.

400 Response

Bad Request

The logged in user may not have the required service administrator role.

500 Response

Internal Server Error.

Back to Top

Examples

The following example shows how to retrieve information about an Essbase user's or group's provisioned service role.

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 - User Info

call properties.bat
curl -X GET "https://myserver.example.com:9001/essbase/rest/v1/permissions/user2?links=none" -H "Accept:application/json" -u %User%:%Password%

Example of Response Body

{
  "id" : "user2",
  "role" : "user"
}

Script with cURL Command - Group Info

call properties.bat
curl -X GET "https://myserver.example.com:9001/essbase/rest/v1/permissions/powergroup?group=true&links=none" -H "Accept:application/json" -u %User%:%Password%

Example of Response Body

{
  "id" : "powergroup",
  "group" : true,
  "role" : "power_user"
}
Back to Top