Get Group Users
/essbase/rest/v1/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
-
id(required): string
ID of group.
Response
- application/json
- application/xml
200 Response
OK
Group member list 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
array
Comma-separated list of group names associated with this user.
400 Response
Bad Request
Logged in user may not have appropriate permissions.
500 Response
Internal Server Error.
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" : ""
} ]
}