getUsers #
Retrieves the list of users who have at least one audit trail entry in the given tenant index.
Query Syntax #
HTTP #
URL: http://kuzzle:7512/_/auditTrail/:index/users
Method: GETJavascript #
kuzzle.query({
controller: 'audit-trail',
action: 'getUsers',
index: '<tenant-index>',
});Arguments #
| Argument | Type | Description |
|---|---|---|
index | string | Tenant index name |
Response #
Returns an array of user objects.
[
{
"kuid": "user-id-1",
"fullName": "Jane Doe"
},
{
"kuid": "user-id-2",
"fullName": null
}
]Response Properties #
| Property | Type | Description |
|---|---|---|
kuid | string | Kuzzle user identifier |
fullName | string | null | User's full name if firstName and lastName are set, otherwise null |