Get User

get

/essbase/rest/v1/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

Path Parameters
Back to Top

Response

Supported Media Types

200 Response

OK

User details returned successfully.

Body ()
Root Schema : User
Type: object
Show Source
Nested Schema : groups
Type: array

Comma-separated list of group names associated with this user.

Show Source

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.

Back to Top

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"
    }
  ]
}
Back to Top