Use this API to retrieve users in a department. Only users that the logged in user can view are returned.
Actor | Permission |
---|---|
User | All of the following are required:
|
Client Application | No additional permission is required. |
OK
Bad Request
Unauthorized
Forbidden
Not Found
Not Acceptable
Internal server error
{- "user": [
- {
- "link": [
- {
- "rel": "self",
- "href": "/core/usermgr/v3/users/1025"
}
], - "firstName": "Social",
- "lastName": "Manager",
- "lastModified": "2021-09-28T12:07:45.000Z",
- "lastModifiedBy": {
- "user": {
- "firstName": "Partition",
- "lastName": "Administrator",
- "id": "1"
}
}, - "loginId": "SocialManager_Cloud",
- "status": {
- "value": "not_logged_in",
- "displayValue": "Not logged in"
}, - "departments": {
- "department": [
- {
- "name": "Cloud",
- "id": "1003",
- "home": "yes"
}
]
}, - "id": "1025"
}, - {
- "link": [
- {
- "rel": "self",
- "href": "/core/usermgr/v3/users/1056"
}
], - "firstName": "Hannah",
- "lastName": "Welch",
- "screenName": "hannah",
- "lastModified": "2021-10-27T04:33:59.000Z",
- "loginId": "hwelch",
- "status": {
- "value": "not_logged_in",
- "displayValue": "Not logged in"
}, - "departments": {
- "department": [
- {
- "name": "Cloud",
- "id": "1003",
- "home": "yes"
}
]
}, - "id": "1056"
}, - {
- "link": [
- {
- "rel": "self",
- "href": "/core/usermgr/v3/users/1057"
}
], - "firstName": "Cameron",
- "lastName": "Wilkins",
- "screenName": "cameron",
- "lastModified": "2021-10-27T04:34:11.000Z",
- "loginId": "cwilkins",
- "status": {
- "value": "not_logged_in",
- "displayValue": "Not logged in"
}, - "departments": {
- "department": [
- {
- "name": "Cloud",
- "id": "1003",
- "home": "yes"
}
]
}, - "id": "1057"
}, - {
- "link": [
- {
- "rel": "self",
- "href": "/core/usermgr/v3/users/1058"
}
], - "firstName": "Robert",
- "lastName": "Clark",
- "screenName": "robert",
- "lastModified": "2021-10-27T04:34:25.000Z",
- "loginId": "rclark",
- "status": {
- "value": "not_logged_in",
- "displayValue": "Not logged in"
}, - "departments": {
- "department": [
- {
- "name": "Cloud",
- "id": "1003",
- "home": "yes"
}
]
}, - "id": "1058"
}, - {
- "link": [
- {
- "rel": "self",
- "href": "/core/usermgr/v3/users/1059"
}
], - "firstName": "Justin",
- "lastName": "Johnston",
- "screenName": "justin",
- "lastModified": "2021-10-27T04:34:31.000Z",
- "loginId": "jjohnston",
- "status": {
- "value": "not_logged_in",
- "displayValue": "Not logged in"
}, - "departments": {
- "department": [
- {
- "name": "Cloud",
- "id": "1003",
- "home": "yes"
}
]
}, - "id": "1059"
}
], - "paginationInfo": {
- "count": 5,
- "pagenum": 1,
- "pagesize": 25
}
}