← Back to team overview

dhis2-devs team mailing list archive

Re: Retrieving date of last login of user X

 

For a specific user:
https://play.dhis2.org/2.28/api/users/N3PZBUlN8vq.json?fields=id,name,userCredentials[id,name,username,lastLogin]

On 29 January 2018 at 12:40, Jan Henrik Øverland <jan@xxxxxxxxx> wrote:

> https://play.dhis2.org/2.28/api/users.json?fields=userCredentials[id,name,
> username,lastLogin]
>
> On 29 January 2018 at 12:02, Calle Hedberg <calle.hedberg@xxxxxxxxx>
> wrote:
>
>> Hi
>>
>> I've looked through the parameters for the web API resource "Users", but
>> I cannot immediately see a way of retrieving the last logged in date for a
>> specific user.
>>
>> Is there a way of doing this, and if yes what is the syntax / parameter
>> to use?
>>
>> regards
>> Calle
>>
>> *******************************************
>>
>> Calle Hedberg
>>
>> 46D Alma Road, 7700 Rosebank, SOUTH AFRICA
>>
>> Tel/fax (home): +27-21-685-6472
>>
>> Cell: +27-82-853-5352
>>
>> Iridium SatPhone: +8816-315-19119
>>
>> Email: calle.hedberg@xxxxxxxxx
>>
>> Skype: calle_hedberg
>>
>> *******************************************
>>
>>
>> _______________________________________________
>> Mailing list: https://launchpad.net/~dhis2-devs
>> Post to     : dhis2-devs@xxxxxxxxxxxxxxxxxxx
>> Unsubscribe : https://launchpad.net/~dhis2-devs
>> More help   : https://help.launchpad.net/ListHelp
>>
>>
>
>
> --
> Jan Henrik Øverland
> Software developer, DHIS 2
> University of Oslo
> http://www.dhis2.org <https://www.dhis2.org/>
>



-- 
Jan Henrik Øverland
Software developer, DHIS 2
University of Oslo
http://www.dhis2.org <https://www.dhis2.org/>

Follow ups

References