August 31, 2008 at 12:13 am
Hi Folks,
can anyone help me with a script to find db users and roles in sql 2000?
August 31, 2008 at 12:41 am
Hi,
May be you can try this:
sp_MSforeachdb sp_helpuser --for database wise user info
sp_MSforeachdb sp_helprole --for database wise roles info
[font="Verdana"]Renuka__[/font]
August 31, 2008 at 1:08 am
Yes, there are s4ch ones, and thry're installed on your workstation.
Start SQL Profiler against one not busy server, desirably the one where there is nobody else but you.
Go to Entrprise Manager and expand dtabse users. If it was expanded refresh it.
Return to Profiler and see which commands EM used to get the list of the users.
_____________
Code for TallyGenerator
Viewing 3 posts - 1 through 2 (of 2 total)
You must be logged in to reply to this topic. Login to reply