web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Suggested Answer

how to fetch user login detail

(0) ShareShare
ReportReport
Posted on by 133

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 have the same question (0)
  • Suggested answer
    André Arnaud de Calavon Profile Picture
    303,489 Super User 2026 Season 1 on at

    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.

  • Suggested answer
    Mohit Rampal Profile Picture
    12,565 Moderator on at

    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.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 518 Super User 2026 Season 1

#2
Giorgio Bonacorsi Profile Picture

Giorgio Bonacorsi 431

#3
Adis Profile Picture

Adis 280 Super User 2026 Season 1

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans