how to check user login detail
I want to fetch the login hours(sum) using user to and from date, it this possible to write a job for this? what should be the line of code in X++ and relation?
Regards
Ayusri
I want to fetch the login hours(sum) using user to and from date, it this possible to write a job for this? what should be the line of code in X++ and relation?
Regards
Ayusri
Hi Aayushii, You can check onlineTime, onlineTimeHours method in SysUserLog Table. You can fetch it by using userId, createdDateTime, logoutDateTime and re-using the logic written in the specified methods in your code.
Andre: This thread is related to the below thread
Hi Ayusri,
Can you elaborate on the exact requirement? Do you need information about current active users or historical information? You can find information in the SysUserLog table. If a session is still active, there is no online time available yet.
André Arnaud de Cal...
292,162
Super User 2025 Season 1
Martin Dráb
230,962
Most Valuable Professional
nmaenpaa
101,156