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
 SQL Server Administration (2005)
 Security Methodology

Author  Topic 

X002548
Not Just a Number

15586 Posts

Posted - 2009-01-09 : 09:33:04
ok, whats wrog with this 2k5?

create login RHO_User99
Create User RHO_User99 for Login RHO_User99
Create Role RHO_User_Role99
Add db_DataReader and db_DataWriter to Role RHO_User_Role99
Add User RHO_User99 to Role RHO_User_Role99

The user can't select against a table

Is there something significantly different between 2k and 2k5

Or am I losing my mind?



Brett

8-)

Hint: Want your questions answered fast? Follow the direction in this link
http://weblogs.sqlteam.com/brettk/archive/2005/05/25/5276.aspx

Add yourself!
http://www.frappr.com/sqlteam



X002548
Not Just a Number

15586 Posts

Posted - 2009-01-09 : 09:51:46
I do notice that the db_* roles are greyed out in the check boxes in the user_role for some reason



Brett

8-)

Hint: Want your questions answered fast? Follow the direction in this link
http://weblogs.sqlteam.com/brettk/archive/2005/05/25/5276.aspx

Add yourself!
http://www.frappr.com/sqlteam



Go to Top of Page

X002548
Not Just a Number

15586 Posts

Posted - 2009-01-09 : 14:23:53
I guess it's just better to GRANT INSERT, SELECT, UPADTE, DELETE for all the tables to the role

instead of using datareader/writer





Brett

8-)

Hint: Want your questions answered fast? Follow the direction in this link
http://weblogs.sqlteam.com/brettk/archive/2005/05/25/5276.aspx

Add yourself!
http://www.frappr.com/sqlteam



Go to Top of Page
   

- Advertisement -