In Microsoft SQL Server, I can use
GRANT EXECUTE TO <principal>
to grant execute permission to some user or role. I'm interested in detection:
How can I equally simply check whether that GRANT EXECUTE
command was already applied to given user/role? (by me or by some other administrator)
Example:
If I use GRANT EXECUTE TO user01
and return back after few weeks: is there a simple way to check whether I (or someone else) already used GRANT EXECUTE TO user01
?