Is there a check I can make to see if a user has modify rights to any object on the server without running the query as that user?
I need to create a logon audit report that lists logon times for accounts that have insert/update access for something on the server(i.e. on any database on the server)
This also needs to not impact performance(if possible) or have the smallest impact.
From this article:
You would want to filter by
username. And keep in mind this shows only the explicitly defined permissions (and deny rules), not effective permissions.