Greetings to Colleagues.
I am working on an already functional LocalDB database project. I have four distinct role users with different dashboard interfaces. I established connection in the App.config and connect to the database by the login form configuration.
Now, I want of create a feature that would log and monitor each user's activities in the database (when the user logged in to what account, and did what and at what time in the database).
I will appreciate if someone can help me solve my problem.
Thanks

Vishal YelvePosted Aug 1, 2024, 5:54 AM
Hi David,
You can use the Audit log to trace user activity.
Please refer below article
https://www.c-sharpcorner.com/UploadFile/e881fb/user-activity-log-using-C-Sharp-with-sql-server/
https://medium.com/@jaydeepvpatil225/logging-in-net-core-with-nlog-de1bcabcd187
https://www.c-sharpcorner.com/UploadFile/ee01e6/track-user-activity-while-performing-crud-operation-in-datab/