Click here to monitor SSC
SQLServerCentral is supported by Redgate
Log in  ::  Register  ::  Not logged in
Home       Members    Calendar    Who's On

Add to briefcase

Script to display permissions in a db Expand / Collapse
Posted Sunday, October 14, 2007 3:36 AM



Group: General Forum Members
Last Login: Friday, January 8, 2016 1:54 AM
Points: 5,957, Visits: 289
Comments posted to this topic are about the item Script to display permissions in a db

Frank Kalis
Microsoft SQL Server MVP
My blog:
Post #410599
Posted Thursday, April 30, 2009 12:14 PM


Group: General Forum Members
Last Login: Tuesday, November 12, 2013 3:01 PM
Points: 13, Visits: 282
I tried the script in Instance of SQL 2005. While it is very fast, and I like that, it came back with incorrect information.
1. For a specific user which I have granted exec rights to all user defined functions and procedures, it shows "Revoked" in the column: [EXEC].
2. This same user has been granted db_datareader and db_datawriter on all tables in the database. According to the data, This user does not appear to have any rights to view the data. No tables show up in the data for this user. I don't know the logic of where the db_datareader and db_datawriter should show up.
3. It would sure help if there was documentation explaininng the logic: where data is coming from and why is the logic written this way.

I hope you can fix this as I really like the speed.
Post #707896
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse