How to change user access mode in MSSQL Server?

MSSQL Server provides a feature to restrict your Database access for users. It can be performed by selecting appropriate access mode for your database. By default, there will be 3 access modes in SQL Server. Single User, Multiple User and Restricted User.

Option 1 : Change User access mode from MSSQL Management Studio 

Following are the steps to change the user access mode in MSSQL Server.

  1. Login to your MSSQL Server using the SQL Management studio.

  2. Right Click on the Database which user access mode you are looking to change and select properties.



  3. Click on Options.



  4. From other options drop-down >> Go to State >> Restrict Access

  5. At Restrict Access Drop-Down, select the option (single_user, multi_user and restricted_user) as per your requirement and click on OK Button.

Option 2 : Change User access mode Using Transact SQL Command 

  1. Login to your SQL Server with MSSQL Management Studio.

  2. Click on New query.



  3. Hit the below query by changing your database name and required user access mode.

    ALTER DATABASE databasename SET user access mode;


  4. Click on Execute Button.

          This is how you can change your user access for your Database.

  • 0 Users Found This Useful

Was this answer helpful?

Related Articles

How to check active connections on your MS-SQL Database ?

To check active database connection in the MS SQL server please follow the below steps. Open...

How to Increase the MS SQL Remote Query Timeout?

MS SQL Server has an option called Remote Query Timeout to specify the time (in seconds), a...

Comparison of MS SQL Server 2016 Express Edition V/S. MS SQL Server 2016 Web Edition

Following is a brief comparison between MSSQL Server 2016 Express Edition and MSSQL Server 2016...

How to Fix Error "Could not allocate space for object 'X' in database"?

Error Message Could not allocate space for object 'dbo.ABC_XYZ_XYZ'.'AB__ABC_XYZ__XYZ' in...

Microsoft SQL Server 2016 Recommendation

The SQL Server 2016 Express is the latest data management system from the Microsoft. Like the...