I was trying to find out in sql server 2012, who created login and which date. Can any body help on this thanks,
Sql-server – find out in SQL SERVER 2012, who is creating SQL Logins and on which date
auditloginssql serversql-server-2012
Related Question
- SQL Server Security – How to Find Out Who Changed the Password for a Login?
- SQL Server 2012 – Find Who Ran a Query Using Transaction Log Backups
- Sql-server – SQL Server 2012 Login Failure
- Sql-server – To find out last activity/access date and date of expiration for all SQL Server 2012 User login
- SQL Server Trace – Who Is Running It and How to Stop It?
- Sql-server – SQL Server: Who created an audit and who altered it last
- Sql-server – Discover who changed SQL Server service state
Best Answer
SQL server wont generally keep a track of this. So you have to make use of the default trace to gather the information for EventClass 109.
Make sure to check that default trace is running using:
If not enabled, then enable it using:
Then you can run the query as mentioned here to gather the information for the added SQL logins:
Note * There are 5 default trace files and these are rolled over,hence its possible to capture recent information related to objects and not related to old events. Therefore to save the information for future use please read Collecting the Information in the Default Trace