Link to home
Start Free TrialLog in
Avatar of mobot
mobotFlag for United States of America

asked on

Capture login and logout time in SQL 2000

Is there away to determine when a user logged into and out of a SQL Database?
Avatar of arbert
arbert

You can use SQL profiler, but it has to be running all the time.  Other than that, you would need to turn on the C2 auditing, or use windows authentication and log the login/logout events....
Enterprise Manager, right click on your server, properties, security tab.  Enable the logging...
Avatar of mobot

ASKER

I check the setting I see audit level setting but nothing that says enable logging for log-in and log-out options.
Avatar of Anthony Perkins
>>I check the setting I see audit level setting but nothing that says enable logging for log-in and log-out options.<<
Arbert missed the final step:
Click the Help button and read up on the section under Audit
ASKER CERTIFIED SOLUTION
Avatar of arbert
arbert

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial