Get User
/users/{id}
Gets details for a specified user ID.
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
-
id(required):
ID of user.
Response
200 Response
OK
User details returned successfully.
400 Response
Bad Request
The logged in user may not have the appropriate service role.
404 Response
Not Found
User not found.
500 Response
Internal Server Error.
Examples
The following example shows how to get details for a specified Essbase user ID.
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/User001" -H "accept: application/json" -u %User%:%Password%Example of Response Body
The following example shows the contents of the response body in JSON format:
{
"id": "User001",
"name": "User One",
"email": "user001@example.com",
"role": "User",
"links": [
{
"rel": "get",
"href": "https://myserver.example.com:9001/essbase/rest/v1/users/User001",
"method": "GET"
},
{
"rel": "edit",
"href": "https://myserver.example.com:9001/essbase/rest/v1/users/User001",
"method": "PUT"
},
{
"rel": "delete",
"href": "https://myserver.example.com:9001/essbase/rest/v1/users/User001",
"method": "DELETE"
},
{
"rel": "provisionReport",
"href": "https://myserver.example.com:9001/essbase/rest/v1/users/User001/provisionReport",
"method": "GET"
}
]
}