DiscountASP.NET Support Portal
Language
 
Home>Knowledge Base>Databases>MS SQL 2008>How do I assign additional SQL logins to my SQL 2008 database?
Information
Article ID189
Created On11/13/2008
Modified8/5/2009
How do I assign additional SQL logins to my SQL 2008 database?
How to assign an SQL login to a database:
  1. Use the SQL Login Manager to create a new MS SQL login in the MS SQL 2008 Manager section of the hosting control panel
  2. Connect to the database using SQL Server Management Studio with your primary login (see this Knowledge Base article)
  3. Expand the Databases node
  4. Locate the database to which you want to add the new SQL Login and expand the node
  5. Expand the Security Node
  6. Right click on the Users node and select "New User..."
  7. In the Database User Properties
    • Type the username you want to assign to this login in the "User name" text box
    • Type the login you want to assign to the database in the "Login name" text box
    • In the Database role membership, select the role you want to grant this login.
  8. Click OK 

Special note for users of SQL Management Studio 2008

If you cannot see the database(s) in Object Explorer, try the following steps:
  1. Open Management Studio
  2. Click on the database node
  3. On the right hand window, you should see a list of databases.
  4. Right Click on the tab. This should bring up all the available options.
  5. Make sure you uncheck everything except Name.