Create and Configure a User in MSSQL
This article will show you how to create and configure a user in MSSQL.
Open SQL Server Management Studio (SSMS).
Connect to SQL Server using your log in information.
In the left-hand panel, expand Security > Logins.
Right click Logins and select New Login from the drop-down menu.
Assign a Login name and select the authentication method and default database/language.
Note: Only Domains can use Windows Authentication.
If you are using SQL authentication you will need to enter an initial password and choose the enforcement options for password policy and expiration as well as whether or not the user will need to change their password when they log in.
In the left-hand panel, click Server Roles to assign any server roles you want this user to have, including bulkadmin, dbcreator, public, and so on.
In the left-hand panel, click Securables and then click Search.
The Add Objects dialog box displays, where you can choose specific objects, objects of a certain type or the server itself. Select one and click OK.
On the Securables page, select Grant, With Grant or Deny as necessary for any/all of the objects in the explicit box.
Grant will grant access to the securable, with grant will allow the user to grant access to the securable and deny will expressly deny permission to the securable no matter what roles or permissions the user may have.
In the left-hand panel, click Status to grant or deny permission to the Database Engine, enable or disable the login and to unlock the account should it get locked out.
When you have finished modifying the settings, click OK to create the user and exit the new login creation window.
©2020 Rackspace US, Inc.
Except where otherwise noted, content on this site is licensed under a Creative Commons Attribution-NonCommercial-NoDerivs 3.0 Unported License