Hi there, we’re Harisystems

"Unlock your potential and soar to new heights with our exclusive online courses! Ignite your passion, acquire valuable skills, and embrace limitless possibilities. Don't miss out on our limited-time sale - invest in yourself today and embark on a journey of personal and professional growth. Enroll now and shape your future with knowledge that lasts a lifetime!".

For corporate trainings, projects, and real world experience reach us. We believe that education should be accessible to all, regardless of geographical location or background.

1
1

Creating Users in Microsoft SQL Server: A Step-by-Step Guide

In Microsoft SQL Server, users are created to allow access to the database and its objects. Users can have specific permissions and roles assigned to them, controlling their level of access and functionality within the database. In this article, we will walk you through the process of creating users in SQL Server using SQL Server Management Studio (SSMS).

Step 1: Open SQL Server Management Studio

Launch SQL Server Management Studio and connect to the SQL Server instance where you want to create the user.

Step 2: Expand the Security Folder

In the Object Explorer, expand the Security folder to reveal the different security-related options.

Step 3: Right-click the "Users" Folder and Select "New User"

Right-click on the "Users" folder and select "New User" from the context menu. This will open the "New User" dialog box.

Step 4: Enter User Details

In the "General" tab of the "New User" dialog box, enter the login name for the user. You can also specify the authentication type (Windows or SQL Server) and the default schema for the user.

Step 5: Set User Role Memberships

In the "User Mapping" tab, select the databases to which you want to grant access to the user. You can also assign roles and specify the default schema for each database.

Step 6: Set User Securables

In the "Securables" tab, you can specify additional permissions and securables for the user, such as granting specific object permissions or executing certain stored procedures.

Step 7: Review and Create User

Review the user details in the "Summary" tab and click the "OK" button to create the user. SQL Server Management Studio will execute the necessary SQL statements to create the user in the database.

Conclusion

Creating users in Microsoft SQL Server is a fundamental step in granting access and managing security within the database. By following the step-by-step guide above using SQL Server Management Studio, you can easily create users, assign roles and permissions, and control access to the database. It is essential to ensure proper user management to maintain the integrity and security of your SQL Server environment.

4.5L

Learners

20+

Instructors

50+

Courses

6.0L

Course enrollments

4.5/5.0 5(Based on 4265 ratings)

Future Trending Courses

When selecting, a course, Here are a few areas that are expected to be in demand in the future:.

Beginner

The Python Course: Absolute Beginners for strong Fundamentals

By: Sekhar Metla
4.5 (13,245)
Intermediate

JavaScript Masterclass for Beginner to Expert: Bootcamp

By: Sekhar Metla
4.5 (9,300)
Intermediate

Python Coding Intermediate: OOPs, Classes, and Methods

By: Sekhar Metla
(11,145)
Intermediate

Microsoft: SQL Server Bootcamp 2023: Go from Zero to Hero

By: Sekhar Metla
4.5 (7,700)
Excel course

Future Learning for all

If you’re passionate and ready to dive in, we’d love to join 1:1 classes for you. We’re committed to support our learners and professionals their development and well-being.

View Courses

Most Popular Course topics

These are the most popular course topics among Software Courses for learners