User permission Query (1 Viewer)

msp

Registered User.
Local time
Today, 19:48
Joined
Apr 5, 2004
Messages
155
Hi is anyone aware of a query or Stored Procedure I can call that will retrieve all the users and permissions for a particular database.

Thanks for any help.
 

SQL_Hell

SQL Server DBA
Local time
Today, 19:48
Joined
Dec 4, 2003
Messages
1,360
Hi there

try this

exec sp_helplogins


or this

select * from sysusers
 

Users who are viewing this thread

Top Bottom