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 2005 Forums
 Transact-SQL (2005)
 Security

Author  Topic 

rohitkumar
Constraint Violating Yak Guru

472 Posts

Posted - 2008-06-27 : 14:08:17
Hello,

I need to get a list of users along with their default database, access rights, user groups (db_owner, db_datareader etc)

can anyone help me with the query?
what sys views should be used?

Thanks
Rohit

sodeep
Master Smack Fu Yak Hacker

7174 Posts

Posted - 2008-06-27 : 14:09:13
Run SP_helplogins.
Go to Top of Page

rohitkumar
Constraint Violating Yak Guru

472 Posts

Posted - 2008-06-27 : 14:13:45
that helps, thank you.
Go to Top of Page
   

- Advertisement -