Solved

Sql Server 2008 R2 Database and Table Permissions

Posted on 2014-04-17
8
386 Views
Last Modified: 2014-04-29
I'm using SqlServer Management Studio.
I want to grant a user datawriter permissions to all the tables in a database.  I created the user in the database and gave them the role datawriter.  But when I look a the permissions for a table, the user isn't listed.  Is there another step required?
Thanks,
Brooks
0
Comment
Question by:gbnorton
  • 5
  • 2
8 Comments
 
LVL 22

Expert Comment

by:plusone3055
Comment Utility
yes in user mapping you have to check off the databases
0
 
LVL 22

Accepted Solution

by:
plusone3055 earned 500 total points
Comment Utility
click logins --- that name  
rightclick that name ---- properties
then click user mapping
and click off the databses you want them to be a datawriter too :)
0
 

Author Comment

by:gbnorton
Comment Utility
Under Database, Security, Users, myuser I have the role db_datawriter selected.  Where is the mapping at?
0
 
LVL 22

Expert Comment

by:plusone3055
Comment Utility
you have to right click the user name and slect properties
in the properties window  there is a selection on the far left that says User Mapping
0
Control application downtime with dependency maps

Visualize the interdependencies between application components better with Applications Manager's automated application discovery and dependency mapping feature. Resolve performance issues faster by quickly isolating problematic components.

 
LVL 22

Expert Comment

by:plusone3055
Comment Utility
I would send you a picture but that feature is currently disabled
I have provided the correct answer 1st...

heres complete steps

Create a user
right click him and select properties
under user mapping
check off a database and below check off data writer

keep repeating :)
0
 
LVL 22

Expert Comment

by:plusone3055
Comment Utility
also you need to right click the database and hit REFRESH then you will see that user listed :)
0
 
LVL 69

Expert Comment

by:ScottPletcher
Comment Utility
>>  I created the user in the database and gave them the role datawriter. <<

From within that database, please double-check that you gave the user the db_datawriter role (bottom of screen) and not ownership of the db_datawriter schema (top of screen).


>> But when I look a the permissions for a table, the user isn't listed.  Is there another step required? <<

No.  Roles are not shown in the permissions list, only specific permission GRANTs, such as DELETE, INSERT, etc..
0
 

Author Closing Comment

by:gbnorton
Comment Utility
Thanks for your help.  In the end I fixed it by adding the role datareader.
0

Featured Post

Control application downtime with dependency maps

Visualize the interdependencies between application components better with Applications Manager's automated application discovery and dependency mapping feature. Resolve performance issues faster by quickly isolating problematic components.

Join & Write a Comment

This is basically a blog post I wrote recently. I've found that SARGability is poorly understood, and since many people don't read blogs, I figured I'd post it here as an article. SARGable is an adjective in SQL that means that an item can be fou…
In this article we will get to know that how can we recover deleted data if it happens accidently. We really can recover deleted rows if we know the time when data is deleted by using the transaction log.
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…

771 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now