Get Permissions
/essbase/rest/v1/applications/{applicationName}/databases/{databaseName}/filters/{filterName}/permissions
Retrieves permissions associated with the named filter.
Request
-
applicationName(required): string
Application name.
-
databaseName(required): string
Database name.
-
filterName(required): string
Filter name.
Response
- application/json
- application/xml
200 Response
OK
The filter permissions were retrieved successfully.
object
-
group:
boolean
true or false. Whether the id refers to a group.
-
id:
string
User or group ID.
-
links:
array links
-
name:
string
User or group name.
-
role:
string
User or group role.
400 Response
Bad Request
Failed to get the filter permissions. The application name, database name, or filter name may be incorrect.
500 Response
Internal Server Error.
Examples
The following example shows how to retrieve what permissions Essbase users and groups have to a particular security filter.
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/applications/Efficient/databases/UserFilters/filters/dslookupfilter/permissions?links=none" -H "Accept: application/json" -u %User%:%Password%
Example of Response Body
{
"items" : [ {
"id" : "FilterGroup",
"group" : true
} ]
}