Skip to main content
Post a question

Notifications

Community site session details

Community site session details

Session Id : G8Xvc9YY49KU7gnMjNaj1E
Microsoft Dynamics CRM (Archived)

How to know user has been close the window of crm in onpremise and how to know user has been logged in to crm in On-premise version?

Like (0) ShareShare
ReportReport
Posted on 26 Oct 2017 04:45:38 by

Hi,

I have an Requirement is "when lead is assigned to specific user at that point of time user should be logged in to CRM other wise it should be assigned to another user.in on-premise we do not have an login and logout options.how to resolve this issue .

I saw this post but I am not getting 

https://community.dynamics.com/crm/b/manojbatchumicrosoftdynamicscrmblog/archive/2015/09/15/crm-and-sql-tip-04-how-to-find-user-account-last-access-time

here he is compare the value with some number I do not need like that.

Please help me. Its Urgent.Thanks in Advance

*This post is locked for comments

  • Suggested answer
    JayeshAC Profile Picture
    1,157 on 26 Oct 2017 at 05:22:49
    RE: How to know user has been close the window of crm in onpremise and how to know user has been logged in to crm in On-premise version?

    Hi Indrasena,

    You can get the logged in status/data of CRM users from Settings >> Auditing >> Audit Summary View.

    You can write a plugin on create of Lead which can check the access of the current user with date and assign the record accordingly.

    However, i didn't understand that if the user data is not available in Audit summary view then, how are you going to assign it to other user? It would be possible if you already have defined any user hierarchy in the system.

    Regards,

    Jayesh

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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Jonas ”Jones” Melgaard – Community Spotlight

We are honored to recognize Jonas "Jones" Melgaard as our April 2025…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 293,442 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 232,575 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,158 Moderator

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans
Loading complete