Solved

Adding Login User

Posted on 2011-09-26
3
229 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
  • 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

Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

Question has a verified solution.

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

Suggested Solutions

Hi all, It is important and often overlooked to understand “Database properties”. Often we see questions about "log files" or "where is the database" and one of the easiest ways to get general information about your database is to use “Database p…
Occasionally there is a need to clean table columns, especially if you have inherited legacy data. There are obviously many ways to accomplish that, including elaborate UPDATE queries with anywhere from one to numerous REPLACE functions (even within…
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …
You have products, that come in variants and want to set different prices for them? Watch this micro tutorial that describes how to configure prices for Magento super attributes. Assigning simple products to configurable: We assigned simple products…

937 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

4 Experts available now in Live!

Get 1:1 Help Now