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)
 Determine Database Roles

Author  Topic 

Togaspoon
Starting Member

42 Posts

Posted - 2003-07-07 : 09:34:21
Is there an easy way using t-sql to determine what database roles a user belongs to?

Togaspoon
Starting Member

42 Posts

Posted - 2003-07-07 : 09:43:03
Nevermind, found it...

sp_userhelp

http://www.sqlteam.com/Forums/topic.asp?TOPIC_ID=20194

Go to Top of Page

harshal_in
Aged Yak Warrior

633 Posts

Posted - 2003-07-07 : 09:44:52
use sp_helpuser

The Judgement of the Judge is as good as the Judge.
Go to Top of Page

harshal_in
Aged Yak Warrior

633 Posts

Posted - 2003-07-07 : 09:45:44
quote:

Nevermind, found it...

sp_userhelp

http://www.sqlteam.com/Forums/topic.asp?TOPIC_ID=20194





Ok u already got it.

The Judgement of the Judge is as good as the Judge.
Go to Top of Page

Amethystium
Aged Yak Warrior

701 Posts

Posted - 2003-07-07 : 09:46:36
EXEC sp_helpuser 'name_in_db'



Go to Top of Page
   

- Advertisement -