Who let the access open?

Credits: David Fulmer
Getting access to a production database should have a process where security team should also involved. But someone might give access to a user bypassing the process. If this sort of unauthorized users are found having access to the database during your audit reports you surly want to know about who and when. If a user was created on the database wrongly, and you want to know who created it then following script will help:


It will give you HostName from where "Create User ..." was executed and LoginName of the user who executed it and Time when the user was created.

Comments

Make Money from Surveys

Popular posts from this blog

Schema.Object has an unresolved reference to Schema

The current master key cannot be decrypted

There is insufficient memory available in the buffer pool