I would wish to keep track of every users that logs into our database.
The reason why I'm doing this Is because we would wish to prevent the users, that we've granted access into our dataset, from sharing their credentials to other users without our permission. We are not always in front of our servers to monitor the users that are logged in so we wished to do this automatically every time a user session starts.
I know the statements to be used to get the username, computer name, etc. But I dont know how to automate this task. Manipulation of data in our server is purely via management studio so we are limited to what exists in SQL Server.
Is this possible? How?