Solved

Sql Server 2008 R2 Database and Table Permissions

Posted on 2014-04-17
8
411 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 5
  • 2
8 Comments
 
LVL 22

Expert Comment

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

Accepted Solution

by:
plusone3055 earned 500 total points
ID: 40007102
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
ID: 40007103
Under Database, Security, Users, myuser I have the role db_datawriter selected.  Where is the mapping at?
0
PeopleSoft Has Never Been Easier

PeopleSoft Adoption Made Smooth & Simple!

On-The-Job Training Is made Intuitive & Easy With WalkMe's On-Screen Guidance Tool.  Claim Your Free WalkMe Account Now

 
LVL 22

Expert Comment

by:plusone3055
ID: 40007110
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
 
LVL 22

Expert Comment

by:plusone3055
ID: 40007120
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
ID: 40007127
also you need to right click the database and hit REFRESH then you will see that user listed :)
0
 
LVL 69

Expert Comment

by:Scott Pletcher
ID: 40007300
>>  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
ID: 40031066
Thanks for your help.  In the end I fixed it by adding the role datareader.
0

Featured Post

Comparison of Amazon Drive, Google Drive, OneDrive

What is Best for Backup: Amazon Drive, Google Drive or MS OneDrive? In this free whitepaper we look at their performance, pricing, and platform availability to help you decide which cloud drive is right for your situation. Download and read the results of our testing for free!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
how to restore or keep sql2000  backups useful... 2 37
shrink table after huge delete 2 34
Adding SQL Server Browser in after install is complete 8 57
denied execute as 13 57
If you have heard of RFC822 date formats, they can be quite a challenge in SQL Server. RFC822 is an Internet standard format for email message headers, including all dates within those headers. The RFC822 protocols are available in detail at:   ht…
In this article I will describe the Copy Database Wizard method as one possible migration process and I will add the extra tasks needed for an upgrade when and where is applied so it will cover all.
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…

734 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