Get Group Users

get

/groups/{id}/members/users

Gets user members of a group.

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

200 Response

OK

Group member list returned successfully.

400 Response

Bad Request

Logged in user may not have appropriate permissions.

500 Response

Internal Server Error.

Back to Top

Examples

The following examples show how to retrieve a list of users belonging to a group.

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

The following example requests which users are a member of the group id sample_appmgrs.

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

Example of Response Body

Aisha and Fred are the members of the group.

{
  "items" : [ {
    "id" : "user4",
    "name" : "Aisha",
    "email" : ""
  }, {
    "id" : "user8",
    "name" : "Fred",
    "email" : ""
  } ]
}
Back to Top