Solved

Adding Login User

Posted on 2011-09-26
3
235 Views
Last Modified: 2013-11-05
I have created a database and user X can login with no problems. When i attempt to login with user Y it wont allow me. Is there a setting in 2008 SQl to add or allow a user to access the database? I found way to create login for 2005 but 2008 might have different setings.

Thanks,
ep
0
Comment
Question by:Epic7
[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
  • 2
3 Comments
 
LVL 26

Accepted Solution

by:
Zberteoc earned 500 total points
ID: 36601465
First you have to create the login by expanding server node > Security and right click on Logins > New Login and give it a password or windows authentication. AFter that ou have to set up the user mapping. By doing this the login is also created in the database as a user and given permissions. This is done in the same window where you create the logins, in the left panel you select User Mapping and then in the right upper panel you check the databases you want to give the user access and in the lower right panel you check the permissions, db_owner for full permission or db_datareader for read only.
0
 
LVL 26

Expert Comment

by:Zberteoc
ID: 36601470
If the login exists you will have to select it from Security > Logins > right click on th elogin and then on Properties.
0
 
LVL 1

Author Closing Comment

by:Epic7
ID: 36601474
Thanks
0

Featured Post

NEW Veeam Agent for Microsoft Windows

Backup and recover physical and cloud-based servers and workstations, as well as endpoint devices that belong to remote users. Avoid downtime and data loss quickly and easily for Windows-based physical or public cloud-based workloads!

Question has a verified solution.

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

I have written a PowerShell script to "walk" the security structure of each SQL instance to find:         Each Login (Windows or SQL)             * Its Server Roles             * Every database to which the login is mapped             * The associated "Database User" for this …
There have been several questions about Large Transaction Log Files in SQL Server 2008, and how to get rid of them when disk space has become critical. This article will explain how to disable full recovery and implement simple recovery that carries…
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…
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an antispam), the admini…

726 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