# User account last login info

**URL:** <https://talk.getindico.io/t/user-account-last-login-info/2276>\
**Category:** Administrators\
**Created:** [June 9, 2021, 8:54pm UTC](https://talk.getindico.io/t/user-account-last-login-info/2276 "2021-06-09T20:54:35Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![rjperez](https://talk.getindico.io/letter_avatar_proxy/v4/letter/r/aeb1de/32.png) [@rjperez](https://talk.getindico.io/u/rjperez)\
**Post date:** [June 9, 2021, 8:54pm UTC](https://talk.getindico.io/t/user-account-last-login-info/2276/1 "2021-06-09T20:54:35Z")

</div>

We’re looking to turn on Federated authentication on our Indico instance. Is there an easy way to determine last login information per user using `indico shell` ?

This will help us understand what the impact will be for users not in the federation. I did find how to get a full user dump `User.query.all()`

Thanks in advance.

---

<div class="post-metadata">

**Author:** ![ThiefMaster](https://talk.getindico.io/user_avatar/talk.getindico.io/thiefmaster/32/509_2.png) [@ThiefMaster](https://talk.getindico.io/u/ThiefMaster)\
**Post date:** [June 9, 2021, 8:58pm UTC](https://talk.getindico.io/t/user-account-last-login-info/2276/2 "2021-06-09T20:58:26Z")

</div>

Each `User` has a `last_login_dt` property.
