SQL Server: Granting db_datawriter on all databases

Posted by Michael J Swart on Stack Overflow See other posts from Stack Overflow or by Michael J Swart
Published on 2010-03-18T17:17:36Z Indexed on 2010/03/18 17:21 UTC
Read the original article Hit count: 390

Filed under:
|
|

I want to manage permissions and access to a SQL Server database server on a development machine. I've created a local windows group (called DBReaderGroup) and assigned various people to it. The group was created as a SQL Server login successfully:

create login [MYMACHINE\DBReaderGroup] from windows

My goal is to grant this group read/write access to all databases (which are constantly being added and dropped). Is it possible to configure the right settings so that SQL Server manages this?

My biggest challenge is that each time a db is created, I have to update the "User Mapping" settings for this group on the new database.

Am I missing something simple?

© Stack Overflow or respective owner

Related posts about sql-server-2005

Related posts about sql-server