No Results
Get User

EdgeCore version: 4.3.0

Method

GET /public/users/{userName}

Used to retrieve a specific user.

Parameters

Name Type Description Mandatory
userName
string Username of the user you want to retrieve;

By default, users whose username belongs to the default domain (username@default) are returned; If the user you want to retrieve belongs to a different domain, you need to add that domain suffix (eg. userName@domainName)

Yes

 

cURL example

curl --location --request GET 'http://localhost:8080/public/users/jane' \
--header 'edgeApiKey: YWRtaW5AZGVmYXVsdHx3IDNHe2tMZTYhMkZkO3J3cipDaSZUdio5' 

Example Response

{
  "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
}

HTTP Response

Code Status Description
200 OK The request has succeeded.
404 Not Found The user could not be found.

Terms | Privacy