Notifications
Announcements
No record found.
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 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.
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
community.dynamics.com/.../how-to-check-user-login-detail
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
As AI tools become more common, we’re introducing a Responsible AI Use…
We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Martin Dráb 660 Most Valuable Professional
André Arnaud de Cal... 549 Super User 2025 Season 2
Sohaib Cheema 307 User Group Leader