Posted by Erland Sommarskog on 01/14/07 23:27
(ch.adilaziz@gmail.com) writes:
> I just wana know that is there is any TSQL Statement which will give me
> the list of all user groups,names of user in each group and thier
> Permssions in any database/server.
> Actually I have to create a report in wich i have to show that how
> many groups we have any whi is the member of wich group with such
> permissions.I ckeck through Interprise Manager but i guess it will take
> alot of time to note every user group then users and their permissions.
> So please any HELP will be greatly Appriciated.
Before I try anything, I would like some clarification. With "groups" do
you mean what is normally called "roles" in SQL Server? That is grouping
of users within a database?
Or do you mean Windows groups as in DOMAIN\OFFICEUSERS?
--
Erland Sommarskog, SQL Server MVP, esquel@sommarskog.se
Books Online for SQL Server 2005 at
http://www.microsoft.com/technet/prodtechnol/sql/2005/downloads/books.mspx
Books Online for SQL Server 2000 at
http://www.microsoft.com/sql/prodinfo/previousversions/books.mspx
[Back to original message]
|