Solved

SQL rights

Posted on 2007-11-29
2
567 Views
Last Modified: 2007-11-29
I want to create a SQL user account that can login to Studio Manager and manager only the DB I assign to them.  Can someone point me in the right direction.

Thanks
0
Comment
Question by:madayes
2 Comments
 
LVL 6

Accepted Solution

by:
thuannguy earned 65 total points
ID: 20373449
In short: Open the SQL Managament Studio, connect to the SQL server. In the Object explorer pane, expand the Security folder, right click on LOGINS to create a login account. On the opend LOGIN window, after you fill in all required information, navigate to the User mapping tab and map that login to databases which you want that login has access to.
0
 
LVL 3

Assisted Solution

by:dbarker2
dbarker2 earned 60 total points
ID: 20373484
Open Studio Manager and expand the Security folder in the left paine.
-Right click on Logins and select new login
-Type the users name (If the user has an AD login you can click search and locate it).
-Choose either windows authentication (If you used an AD login) or SQL Server Authentication.
-At the bottom of the General window in the Default Database dropdown choose the proper database.
-In the left paine click on User Mappings.
-In the right paine choose the Database you want to assign him rights to and check the box.
-in the bottom paine select the rights you would like to apply (Typically db_owner to manage the DB).

That should do it.
0

Featured Post

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

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 use TOP 1 in a T-SQL sub-query? 14 41
Selection from table2 where criteria for table1 10 31
Restrict result set 1 33
Can Unique column have more than one Null? 8 43
I've encountered valid database schemas that do not have a primary key.  For example, I use LogParser from Microsoft to push IIS logs into a SQL database table for processing and analysis.  However, occasionally due to user error or a scheduled task…
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.
A company’s greatest vulnerability is their email. CEO fraud, ransomware and spear phishing attacks are the no1 threat to a company’s security. Cybercrime is responsible for the largest loss of money to companies today with losses projected to r…
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

948 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

17 Experts available now in Live!

Get 1:1 Help Now