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 2000 Forums
 SQL Server Development (2000)
 Querying Sql2000 for User's rights

Author  Topic 

lalbatros
Yak Posting Veteran

69 Posts

Posted - 2008-04-17 : 12:41:38
Hello,

I have several databases with many users each with dedicated rights on these databases.
I need to build a list showing all the rights, like {user, database, right).
I could do that manually, in the enterprise manager, by reading the info in databases/database/users/auser/properties.
However, this would take me a full day.

Would it be possible to get this list from some query based on some system tables?

Thanks

sodeep
Master Smack Fu Yak Hacker

7174 Posts

Posted - 2008-04-17 : 13:03:01
You will spend whole day if you do manually.

you can use :

1) select * from syslogins(for logins)
2) sp_helpuser
3) sp_helplogins
Go to Top of Page
   

- Advertisement -