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
 Transact-SQL (2000)
 Generate a list of user with there rights

Author  Topic 

carau2007
Starting Member

31 Posts

Posted - 2007-09-11 : 09:31:14
How can I generate a list of users for a specific database with there permit.

Example:

Database Client

USERS Database role membership,Permit in database role
collis8, pulic, db_owner
lacjoe9, public, db_datawriter

nr
SQLTeam MVY

12543 Posts

Posted - 2007-09-11 : 12:55:03
See syspermissions
They may inherit permissions from roles as well.

==========================================
Cursors are useful if you don't know sql.
DTS can be used in a similar way.
Beer is not cold and it isn't fizzy.
Go to Top of Page
   

- Advertisement -