Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2008 Forums
 SQL Server Administration (2008)
 Query

Author  Topic 

sqlfresher2k7
Aged Yak Warrior

623 Posts

Posted - 2012-03-01 : 08:30:48
I need a query to generate a security report which should list All users, the databases to which they have access and their allowed level of access to each database.

SwePeso
Patron Saint of Lost Yaks

30421 Posts

Posted - 2012-03-01 : 08:40:27
1. See sys.users, sys.databases etc etc tables
2. Learn how to JOIN


N 56°04'39.26"
E 12°55'05.63"
Go to Top of Page
   

- Advertisement -