ANS Documentation

Improve This Doc
  • Cloud
  • Domains and DNS management
  • Backup and High Availability
  • eCommerce Stacks
  • Security
  • Email
  • Monitoring and usage management
  • Networking
  • Operating systems
    • Linux
    • VMware ESXi
    • Windows
      • Active Directory
      • Common Issues
      • Exchange
      • FTP
      • IIS
      • MSSQL
      • Networking
      • TLS 1.2 in PowerShell
      • RDP
      • Windows Server 2016
      • SSL/TLS and Schannel
      • Windows Administration
  • Webcelerator
  • MyUKFast
  • Home >
  • Operating systems >
  • Windows >
  • MSSQL >
  • How to create a Microsoft SQL Server Database User

How to create a Microsoft SQL Server Database User¶

  • In order to Create a Microsoft SQL Server database user, please follow the steps below. (For this guide, it is assumed that you have already created a database, and that you have access to SA credentials or Credentials with user creation privileges assigned to them)

Firstly, please log in to Microsoft SQL Management Studio using your SA (or Equivalent) credentials as below

SA Login

Once logged in, drop out the Databases section within Object Explorer, then drop out the database which you wish to create a new user for. You will now see a number of folders appear under your database in the object explorer, drop out the security section, followed by the users section. A list of users will now be visible, right click on the Users object and select “New User” as below

New User

You will now be presented with the Database User pane, Within this pane, you will see 5 pages under “Select a page” on the left hand side of the screen, and by default you should be currently on the “General” page as below. Within this page, please set the user type,

  • Several options are listed in the “User Type” selector which are self explanatory, however for the purposes of this guide, we are going to use the “SQL user with login” option.

Enter a user name, and a login name, the user name will be the displayed user name within your database, and the login name will be used specifically for logging in to the SQL instance. Once you are happy with the details that you have entered, please select “Owned Schemas” from the “Select a page” menu on the left hand side of the pane.

New Users General

On the owned schemas pane, you can select a variety of Different Schemas to assign this user to, an explanation of these schemas can be found at the link below, once you have made your selection, please select “Membership” from the “Select a page” menu on the left hand side of the pane.

  • MSSQL Schemas

You will now be presented with the Database role membership selection pane as below, within this pane, you will need to select the appropriate Roles for your user, this is entirely your own choice, and should be set in accordance with what task the user will be carrying out. For an explanation of the different roles and their functions, please visit the following link.

  • Database Roles

Membership

  • Once you are happy with your choices, please select OK to create your user, you will now be returned to the MSSQL Management Studio, and you should be able to see your new user in the users list for your database as below

New User

Next Article > Creating a new database in Microsoft SQL Server

  • Useful Links
  • SMB
  • Enterprise
  • Channel
  • Public Sector
  • ANS Data Centres
  • About ANS
  • Careers
  • Blog
  • Get in touch
  •  
  • Sales 0800 458 4545
  • Support 0800 230 0032
  • Get in touch

© ANS Group Limited | Terms and Conditions | Corporate Guidance | Sitemap
ANS Group Limited, registered in England and Wales, company registration number 03176761, registered office 1 Archway, Birley Fields, Manchester M15 5QJ