Capture Session time

0
hi, how do I capture the log in and log out time of each user
asked
3 answers
0

Last login is on the System.User entity.

You might want to look at the user statistics module and add a logout time to the Account entity (which inherits from System.User).

answered
0

hi, I tried using System.User entity but attributes of that cannot be accessed, and User Statistics module isn't compatible for the modeler version(5.14.1)

answered
0

We are looking into this as well and it seems that using Java and a scheduled event you can find and store the logged in users. The delta between the previous run determines who has logged in and logged out. Have a look at the API: com.mendix.systemwideinterfaces.core.ISession and getActiveSession().

Or have a look at the Login Audit Trail (https://appstore.home.mendix.com/link/app/1183/Mendix/Login-Audit-Trail) module, that might be sufficient too. It depends on the application log.

answered