Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 
        
Home       Members    Calendar    Who's On


Add to briefcase ««12

How do I allow all logged in users to access a SQL Express 2008 R2 database? Expand / Collapse
Author
Message
Posted Tuesday, July 16, 2013 10:01 AM
Right there with Babe

Right there with BabeRight there with BabeRight there with BabeRight there with BabeRight there with BabeRight there with BabeRight there with BabeRight there with Babe

Group: General Forum Members
Last Login: Thursday, April 10, 2014 1:08 PM
Points: 721, Visits: 1,264
OK, I've discovered that my problem , with the sp_AddRoleMember stored procedure, was using both [] and ''. What I've done is this:

EXEC sp_addrolemember N'db_datareader', N'DomainUsersAccess'
GO
EXEC sp_addrolemember N'db_datawriter', N'DomainUsersAccess'
GO




Kindest Regards,

Rod
Post #1474203
Posted Tuesday, July 16, 2013 11:21 AM
Right there with Babe

Right there with BabeRight there with BabeRight there with BabeRight there with BabeRight there with BabeRight there with BabeRight there with BabeRight there with Babe

Group: General Forum Members
Last Login: Thursday, April 10, 2014 1:08 PM
Points: 721, Visits: 1,264
I just found out that because I'm using a bulk copy, which apparently requires ALTER TABLE permissions, I also had to include the db_ddladmin role. Who knew (I certainly didn't, until about 15 minutes ago.)


Kindest Regards,

Rod
Post #1474238
« Prev Topic | Next Topic »

Add to briefcase ««12

Permissions Expand / Collapse