Core
IoT Platform v2.x
2

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: GET

Javascript #

kuzzle.query({
  controller: 'audit-trail',
  action: 'getUsers',
  index: '<tenant-index>',
});

Arguments #

ArgumentTypeDescription
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 #

PropertyTypeDescription
kuid
string
Kuzzle user identifier
fullName
string | null
User's full name if firstName and lastName are set, otherwise null