EdgeCore version: 4.3.0
Method
GET /public/domains/{domainName}/users/{userName}
Used to retrieve a particular user belonging to a specific domain.
Parameters
Name | Type | Description | Mandatory |
domainName |
string | Domain | Yes |
userName |
string | Username of the user you want to retrieve | Yes |
cURL example
curl --location --request GET 'http://localhost:8080/public/domains/default/users/jane' \ --header 'edgeApiKey: YWRtaW5AZGVmYXVsdHx3IDNHe2tMZTYhMkZkO3J3cipDaSZUdio5'
Example Response
{ "apiKey": null, "doClass": "AccountUserDO", "id": "s3pvsu-k636f3lq69pg", "userName": "jane", "attributes": {}, "domainName": "default", "domainId": "s3pvsu-k636f3lq68qr", "accountUserMeta": { "doClass": "AccountUserMetaDO", "creationTime": 1606475717124, "currentLogin": 0, "failures": 0, "lastChange": 1606475717124, "lastAdminReset": 1606478335247, "changedByAdmin": true, "lastFailure": 0, "lastLogin": 0, "temporaryLock": false, "permanentLock": false, "lockTime": 0, "lockReason": null, "acceptedFormNames": [] }, "kioskMode": null }
HTTP Response
Code | Status | Description |
200 | OK | The request has succeeded. |
404 | Not Found | The domain could not be found.
Or The user could not be found. |