# Here is a curl example
curl \
X GET -H "Authorization:{token}" http://localhost:8888/api/UsersAndGroups/GetUserbyId
?user_id=1
This method allows you to get users using the UserID.
To get specific user, you need to make a GET call to the following url:
:
http://localhost:8888/api/UsersAndGroups/GetUserbyId
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 |
|---|---|---|---|
| user_id | query | long | List of users. You can get from another method (http://localhost:8888/api/UsersAndGroups/GetUsersAndGroups). |
| Authorization | header | string | Add Authorization header token |