Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics GP (Archived)

Last Activity Time For A User

Posted on by 6,010

Is there any column that will show the last activity time for a user?  I would like to be able to send email alerts to users who are logged in but haven't been active for 1 hour.

*This post is locked for comments

  • Atef abdel monem Profile Picture
    Atef abdel monem 15 on at
    Re: Re: Re: Re: Re: Re: Re: Last Activity Time For A User

    HI Sivakumar

    Could you please help me how can i create job to delete user that idle time for example more than 7 minutes

  • Ron Wilson Profile Picture
    Ron Wilson 6,010 on at
    Re: Re: Re: Re: Re: Re: Re: Last Activity Time For A User

    Sivakumar,

    This post got me to thinking that if I had a blog I would post this...

    I now have a blog.  http://rldu.wordpress.com

    I have given you credit for this script!  Thanks so much...it is an AWESOME script...

  • veeyeskay Profile Picture
    veeyeskay on at
    Re: Re: Re: Re: Re: Re: Last Activity Time For A User

    You are welcome Frank. :)

    Have a nice day.

  • Frank Hamelly | MVP, MCP, CSA Profile Picture
    Frank Hamelly | MVP... 4,029 Super User 2024 Season 2 on at
    Re: Re: Re: Re: Re: Last Activity Time For A User

    Sounds good Siva - thanks!!

     Well Ron, get busy! :)

  • Ron Wilson Profile Picture
    Ron Wilson 6,010 on at
    Re: Re: Re: Re: Re: Last Activity Time For A User

    Man if I had a blog I would post it on it too :)...

  • veeyeskay Profile Picture
    veeyeskay on at
    Re: Re: Re: Re: Last Activity Time For A User

    No problem Frank..

    You can... This should be a helpful script to all... :) Once you do it, I can cross link it on my blog... (if you don't mind). :)

  • Frank Hamelly | MVP, MCP, CSA Profile Picture
    Frank Hamelly | MVP... 4,029 Super User 2024 Season 2 on at
    Re: Re: Re: Last Activity Time For A User

    Yes sir, Ron, it makes sense to me.  I didn't think about using the SQL session timing to do this.  Great idea Siva!!  Would you mind if I post this on my blog?

  • veeyeskay Profile Picture
    veeyeskay on at
    Re: Re: Re: Re: Re: Last Activity Time For A User

    You are welcome. :-)

    Feel free to post if you have further questions.

  • Ron Wilson Profile Picture
    Ron Wilson 6,010 on at
    Re: Re: Re: Re: Last Activity Time For A User

     Sivakumar,

     Thanks...this is exactly what I needed.

     Ron

  • veeyeskay Profile Picture
    veeyeskay on at
    Re: Re: Re: Last Activity Time For A User

    Hi Ron

     Yes. This looks at the SQL Session ID's in the tables in the tempdb, DYNAMICS and the master databases to identify which GP's processes are being run by a specific user and note the inactivity for each user.

    Let me know if you need further assistance.

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,235 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans