Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 
        
Home       Members    Calendar    Who's On


Add to briefcase

How to summarize the security settings for an account.?????? Expand / Collapse
Author
Message
Posted Tuesday, February 19, 2013 8:35 AM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: General Forum Members
Last Login: Wednesday, June 05, 2013 8:47 AM
Points: 9, Visits: 44
Hi

I have 2 sql Login accounts and for these 2 accounts

How to find out the
1. Server Roles (bulkadmin, dbcreator,diskadmin etc.,).????
2. user mapped databases.????
3. database roles.????
4. database role and user database is 1-to-1 mapping or not.????

Ex: TestDB ---> mapped to ---> db_datareader
SampleDB ---> mapped to ---> db_ddladmin
5. Deny access on Tables.????

Please advice me any script or any solution.

Thanks


Post #1421680
Posted Tuesday, February 19, 2013 8:40 AM


SSCertifiable

SSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiable

Group: General Forum Members
Last Login: Wednesday, August 28, 2013 2:37 AM
Points: 5,075, Visits: 4,834
Select from sys.server_permission for server wide permissions (grant deny roles etc) joined to sys.server_principles

Select from sys.database_permissions in each database for DB wide permissions joined to sys.database_principles




Want an answer fast? Try here
How to post data/code for the best help - Jeff Moden
Need a string splitter, try this - Jeff Moden
How to post performance problems - Gail Shaw
CrossTabs-Part1 & Part2 - Jeff Moden
SQL Server Backup, Integrity Check, and Index and Statistics Maintenance - Ola Hallengren
Managing Transaction Logs - Gail Shaw
Troubleshooting SQL Server: A Guide for the Accidental DBA - Jonathan Kehayias and Ted Krueger

Post #1421683
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse