Users Last Login Date

  • How can i know the last login date for a particular user ??

    Thanks in advance.

     

  • If you have auditing enabled, you can check the SQL Server error log.

  • If the user is still connected to server you can find out it from login_time column from sysprocesses table.

  • Otherwise you can trace event class "Security Audit -> Audit Login" (best way to do it not with Profiler, but with stored procedures, like sp_trace_create, sp_trace_setevent etc.).

Viewing 4 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic. Login to reply