Manage App - List Users - apsdb.creationTime returned field
  • Hi Karim,

    I am trying to know the time the users registered , in another words I need to get the apsdb.creationTime from running ListUsers in apstrata backend manage app , I usually run Manage App - list Users - Query and I get the list of registered users , I am trying to get the apdb.creationTime as well but I am not succeeding.

    Could you please advise.

    Thanks

    Nour 
  • Hi,

    When invoking the "ListUsers" API, just pass the "apsdb.attributes" parameter and set it to the list of attributes you would like to retrieve, such as "apsdb.creationTime", e.g. apsdb.attributes=apsdb.creationTime,login,email

    Note that these values are returned in arrays, e.g.:

    "result": {
    "users": [
    {
    "apsdb.creationTime": [
    "2015-02-23T14:45:51+0000"
    ], 
    "login": [
    "galileo"
    ]
    }
    ]
    }
  • This helps , thank you 

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!