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)
 Role's Permission

Author  Topic 

ggarza75
Yak Posting Veteran

50 Posts

Posted - 2008-08-19 : 16:41:01
I have a Role called TEAM. What's the syntax to view all the permissions that role contains?

Thanks for any help.

tkizer
Almighty SQL Goddess

38200 Posts

Posted - 2008-08-19 : 16:57:17
EXEC sp_helprotect @username = 'TEAM'

Tara Kizer
Microsoft MVP for Windows Server System - SQL Server
http://weblogs.sqlteam.com/tarad/

Subscribe to my blog
Go to Top of Page

sodeep
Master Smack Fu Yak Hacker

7174 Posts

Posted - 2008-08-19 : 16:58:07
sp_helprole,sp_helprolemember and sp_helprotect(for permissions)
Go to Top of Page

ggarza75
Yak Posting Veteran

50 Posts

Posted - 2008-08-19 : 17:21:32
quote:
Originally posted by tkizer

EXEC sp_helprotect @username = 'TEAM'

Tara Kizer
Microsoft MVP for Windows Server System - SQL Server
http://weblogs.sqlteam.com/tarad/

Subscribe to my blog




Thank Tara. I think this is what I need. Question, when the results come in, what does the COLUMN column mean? Under that it has a bunch of (All+New).

Thank you.
Go to Top of Page

tkizer
Almighty SQL Goddess

38200 Posts

Posted - 2008-08-19 : 17:23:02
You can find out all of the details about this system stored procedure in SQL Server Books Online.

Tara Kizer
Microsoft MVP for Windows Server System - SQL Server
http://weblogs.sqlteam.com/tarad/

Subscribe to my blog
Go to Top of Page
   

- Advertisement -