Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Method: /user/get


Example:


Code Block
languagejs
titleParameters
{
    "match":
    [
         [domain.id", "=", "domain id 1"],
         [id", "=", "user id 1"] // or ["loginName", "=", "john"] etc, any searchable user attributes can be used as the match condition
    ],
    "return":["id", "loginName", "email"]
}
Code Block
languagejs
titleResponse
{
    "error":0,
    "result":
    {
        "id":"user id 1", 
        "loginName":"John Smith",
        "email": "john.smith@acme.com"
    }
}

...