Click here to monitor SSC
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 

Get your favorite SSC scripts directly in SSMS with the free SQL Scripts addin. Search for scripts directly from SSMS, and instantly access any saved scripts in your SSC briefcase from the favorites tab.
Download now (direct download link)

SQL 2005 - List Permission

By Sandeep Saretha,

sp_helprotect : BOL Says - Returns a report that has information about user permissions for an object, or statement permissions, in the current database.

It will give you list of all the database objects. If you want only Stored Procrdure or/ and Functions or/and Tables or/and Views you can use following script with little variation as per your requirement.

Total article views: 3505 | Views in the last 30 days: 5
 
Tags
security    
 
Contribute