How can I get Users log in/off history?

  • 0
  • 1
  • Question
  • Updated 5 years ago
  • Answered

I want to keep track of log-in/off times for the users for the management.

Has anyone got ideas how to do this? A simple table can be updated automatically as user log in and out.

Photo of Mahendra

Mahendra

  • 0 Points

Posted 5 years ago

  • 0
  • 1
Photo of Ⲇanom the ultimate (Dan Diebolt)

Ⲇanom the ultimate (Dan Diebolt), Champion

  • 30,184 Points 20k badge 2x thumb
You can view each user's last access through this administrator's page:

https://<subdomain>.quickbase.com/db/<app dbid>?a=manageusers

This does not give you a full history of every access - only the last access. It is possible to place some code on the application dashboard and use the API to create an record in a log table noting the time and and date. Some logic has to be tossed in to only capture the first visit (per day or other time period) to the application dashboard - not every passage through the dashboard. In anyone day a user might pass through the dashboard dozens or even hundreds of times and you don't want to clog your logging table with spurious entries.