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
 SQL Server Administration (2000)
 creating roles with privileges

Author  Topic 

AskSQLTeam
Ask SQLTeam Question

0 Posts

Posted - 2005-04-04 : 07:59:01
Ivan writes "how do i create roles with given privilege for:
catowner-sysadmin,dbowner
catadmin-all privileges on all tables
catuser-read privileges on all tables"

jason
Posting Yak Master

164 Posts

Posted - 2005-04-04 : 15:32:15
Can you use Windows account groups or are you limited to SQL authentication?

Go to Top of Page

jen
Master Smack Fu Yak Hacker

4110 Posts

Posted - 2005-04-04 : 21:48:38
create role using sp_addrole, apply the appropriate permissions using grant/deny command (whichever is applicable), then add the logins as members of roles that they're supposed to be included

--------------------
keeping it simple...
Go to Top of Page

derrickleggett
Pointy Haired Yak DBA

4184 Posts

Posted - 2005-04-04 : 23:12:14
Books Online is kewl.

MeanOldDBA
derrickleggett@hotmail.com

When life gives you a lemon, fire the DBA.
Go to Top of Page
   

- Advertisement -