How can I know the last login of user?, or an automation when user logon

Hello:
How can I know the last login of user?, or an automation when user logon.
That is important because with that we could know the usage of the users of the applications. Then save license or assign to other users.

@Pankaj @Alyssa

Javier

Hi @Javi-1285 :honey_pot:

For a solution, you could add a login button for a user to click, which has an automation that writes a timestamp for the login (on a login screen that navigates to a home screen). Here's how to set it up:

Here's a button with an automation that records a timestamp of a login button clicked by a user, by writing $[SYS_USER] and NOW() to a table:

And here's how it looks writing to a table:

Hope this example helps! :slightly_smiling_face: :honeybee: