# Here is a curl example
curl \
X GET -H "Authorization:{token}" http://localhost:8888/api/UsersAndGroups/GetUserInGroup
?group_id=1
This method allows you to get all users in a group.
To get users in group, you need to make a GET call to the following url:
:
http://localhost:8888/api/UsersAndGroups/GetUserInGroup
Result example :
[
{
"salutation": "",
"first_name": null,
"last_name": null,
"user_name": "_Group_All Resources",
"id": 6,
"is_group": true,
"telephone": null,
"telephone_ext": null,
"mobile": null,
"email": "",
"position": null,
"department": null,
"password_never_expires": false,
"cannot_change_password": false,
"must_change_password": false,
"enabled": false
},
]
| Field | Parameter Type | Type | Description |
|---|---|---|---|
| group_id | query | long | Group Id |
| Authorization | header | string | Add Authorization header token |