EdgeCore version: 4.3.0
Method
GET /public/users
Used to retrieve a list of all users.
Parameters
Name | Type | Description | Mandatory |
index |
integer | Paging index. Default is 0. | No |
count |
integer | Results per page. Default is 50. | No |
search |
string | Username search string | No |
domain |
string | Domain users belong to | No |
cURL example
curl --location --request GET 'http://localhost:8080/public/users' \ --header 'edgeApiKey: YWRtaW5AZGVmYXVsdHx3IDNHe2tMZTYhMkZkO3J3cipDaSZUdio5'
Example Response
[ { "apiKey": null, "roleMembership": null, "doClass": "AccountUserDO", "id": "9uvkg2-h266vjk3uc93", "userName": "admin", "attributes": { "FirstName": "edgeCore" }, "domainName": "default", "domainId": "9uvkg2-h266vjk3uc90", "accountUserMeta": { "doClass": "AccountUserMetaDO", "creationTime": 0, "currentLogin": 1608247679960, "failures": 0, "lastChange": 0, "lastAdminReset": 0, "changedByAdmin": false, "lastFailure": 0, "lastLogin": 1608230265305, "temporaryLock": false, "permanentLock": false, "lockTime": 0, "lockReason": null, "acceptedFormNames": [] }, "kioskMode": null }, { "apiKey": null, "roleMembership": null, "doClass": "AccountUserDO", "id": "9uvkg2-h266vjk3v3fb", "userName": "jane", "attributes": {}, "domainName": "default", "domainId": "9uvkg2-h266vjk3uc90", "accountUserMeta": { "doClass": "AccountUserMetaDO", "creationTime": 1604395115680, "currentLogin": 1608283819380, "failures": 0, "lastChange": 1607941631155, "lastAdminReset": 1608283853580, "changedByAdmin": true, "lastFailure": 0, "lastLogin": 1608225197410, "temporaryLock": false, "permanentLock": false, "lockTime": 0, "lockReason": "", "acceptedFormNames": [] }, "kioskMode": null }, { "apiKey": null, "roleMembership": null, "doClass": "AccountUserDO", "id": "ne6ru4-d2rjkfcd6m0q", "userName": "joe", "attributes": {}, "domainName": "default", "domainId": "9uvkg2-h266vjk3uc90", "accountUserMeta": { "doClass": "AccountUserMetaDO", "creationTime": 1607946438451, "currentLogin": 1607946473372, "failures": 0, "lastChange": 1607946438451, "lastAdminReset": 1608283853580, "changedByAdmin": true, "lastFailure": 0, "lastLogin": 0, "temporaryLock": false, "permanentLock": false, "lockTime": 0, "lockReason": null, "acceptedFormNames": [] }, "kioskMode": null }, { "apiKey": null, "roleMembership": null, "doClass": "AccountUserDO", "id": "9uvkg2-h266vjk4bsg8", "userName": "andy", "attributes": { "LastName": "Lewis", "FirstName": "Andy" }, "domainName": "default", "domainId": "9uvkg2-h266vjk3uc90", "accountUserMeta": { "doClass": "AccountUserMetaDO", "creationTime": 1604401894514, "currentLogin": 1604430912247, "failures": 0, "lastChange": 1604401894514, "lastAdminReset": 1608283853580, "changedByAdmin": true, "lastFailure": 0, "lastLogin": 1604411058618, "temporaryLock": false, "permanentLock": false, "lockTime": 0, "lockReason": null, "acceptedFormNames": [] }, "kioskMode": null }, { "apiKey": null, "roleMembership": null, "doClass": "AccountUserDO", "id": "9uvkg2-h266vjk3v81i", "userName": "hunter", "attributes": { "FirstName": "hunter" }, "domainName": "default", "domainId": "9uvkg2-h266vjk3uc90", "accountUserMeta": { "doClass": "AccountUserMetaDO", "creationTime": 1604395604828, "currentLogin": 1604408206981, "failures": 0, "lastChange": 1604395604828, "lastAdminReset": 1608283853581, "changedByAdmin": true, "lastFailure": 0, "lastLogin": 1604395637427, "temporaryLock": false, "permanentLock": false, "lockTime": 0, "lockReason": null, "acceptedFormNames": [] }, "kioskMode": null }, { "apiKey": null, "roleMembership": null, "doClass": "AccountUserDO", "id": "9uvkg2-h266vjk40h6c", "userName": "Siri", "attributes": { "LastName": "Smith", "FirstName": "Siri" }, "domainName": "default", "domainId": "9uvkg2-h266vjk3uc90", "accountUserMeta": { "doClass": "AccountUserMetaDO", "creationTime": 1604395814580, "currentLogin": 1607949263301, "failures": 0, "lastChange": 1607941489557, "lastAdminReset": 1608283853581, "changedByAdmin": true, "lastFailure": 0, "lastLogin": 1607942432512, "temporaryLock": false, "permanentLock": false, "lockTime": 0, "lockReason": "", "acceptedFormNames": [] }, "kioskMode": null }, { "apiKey": null, "roleMembership": null, "doClass": "AccountUserDO", "id": "ne6ru4-d2rjkfcdgl25", "userName": "dean", "attributes": {}, "domainName": "default", "domainId": "9uvkg2-h266vjk3uc90", "accountUserMeta": { "doClass": "AccountUserMetaDO", "creationTime": 1607951671380, "currentLogin": 1607951692867, "failures": 0, "lastChange": 1607951671380, "lastAdminReset": 1608283853581, "changedByAdmin": true, "lastFailure": 0, "lastLogin": 0, "temporaryLock": false, "permanentLock": false, "lockTime": 0, "lockReason": null, "acceptedFormNames": [] }, "kioskMode": null }, { "apiKey": null, "roleMembership": null, "doClass": "AccountUserDO", "id": "9uvkg2-h266vjk3v488", "userName": "sam", "attributes": { "LastName": "Winchester", "FirstName": "Sam" }, "domainName": "default", "domainId": "9uvkg2-h266vjk3uc90", "accountUserMeta": { "doClass": "AccountUserMetaDO", "creationTime": 1604395267547, "currentLogin": 1604395317342, "failures": 0, "lastChange": 1604395267547, "lastAdminReset": 1608283853581, "changedByAdmin": true, "lastFailure": 0, "lastLogin": 1604395275634, "temporaryLock": false, "permanentLock": false, "lockTime": 0, "lockReason": null, "acceptedFormNames": [] }, "kioskMode": null }, { "apiKey": null, "roleMembership": null, "doClass": "AccountUserDO", "id": "9uvkg2-h266vjk4d2ji", "userName": "jay", "attributes": {}, "domainName": "default", "domainId": "9uvkg2-h266vjk3uc90", "accountUserMeta": { "doClass": "AccountUserMetaDO", "creationTime": 1604402527610, "currentLogin": 1608220165021, "failures": 0, "lastChange": 1608115941461, "lastAdminReset": 1608283853581, "changedByAdmin": true, "lastFailure": 0, "lastLogin": 1608131366326, "temporaryLock": false, "permanentLock": false, "lockTime": 0, "lockReason": "", "acceptedFormNames": [] }, "kioskMode": null } ]
HTTP Response
Code | Status | Description |
200 | OK | The request has succeeded. |
404 | Not Found | The domain could not be found (if domain is specified in the request). |