Get User
/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
- 
                    id(required): string
                    
                    
ID of user.
 
Response
- application/json
 - application/xml
 
200 Response
OK
User details returned successfully.
object- 
            email: 
            string
            
 - 
            groups: 
            array  groups
            
            
Comma-separated list of group names associated with this user.
 - 
            id: 
            string
            
The user ID.
 - 
            links: 
            array  links
            
            
 - 
            name: 
            string
            
The user name. Limit 256 characters. The following special characters are not permitted:
; , = + * ? [ ] | < > \ " ' / Space Tab. Additionally, a period (.) is not permitted in group names. - 
            password: 
            string
            
Password for the user.
 - 
            role: 
            string
            
The user role. Valid roles: User, Power User, and Service Administrator.
 - 
            token: 
            string
            
 
arrayComma-separated list of group names associated with this user.
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"
    }
  ]
}