# Here is a curl example
curl \
X GET -H "Authorization:{token}" http://localhost:8888/api/UsersAndGroups/GetUsersAndGroups
This method allows you to get all users and groups.
To get get all users and groups, you need to make a GET call to the following url:
:
http://localhost:8888/api/UsersAndGroups/GetUsersAndGroups
Result example :
[
{
"salutation": "",
"first_name": "",
"last_name": "",
"user_name": "",
"id": 45,
"is_group": false,
"telephone": "",
"telephone_ext": "",
"mobile": "",
"email": "",
"position": "",
"department": "",
"password_never_expires": false,
"cannot_change_password": false,
"must_change_password": false,
"enabled": false
},
]
| Field | Parameter Type | Type | Description |
|---|---|---|---|
| Authorization | header | string | Add Authorization header token |