sql server 2016 database newuser creation option not available

Bala G 21 Reputation points
2020-09-22T06:55:16.97+00:00

26230-image.png

SQL Server
SQL Server
A family of Microsoft relational database management and analysis systems for e-commerce, line-of-business, and data warehousing solutions.
13,685 questions
Transact-SQL
Transact-SQL
A Microsoft extension to the ANSI SQL language that includes procedural programming, local variables, and various support functions.
4,625 questions
0 comments No comments
{count} votes

Accepted answer
  1. tibor_karaszi@hotmail.com 4,311 Reputation points
    2020-09-22T10:35:46.597+00:00

    See my reply on Stack Exchange. Permissions is probably not your issue (I just tested it, you still see the "New User" option even if you don't have permissions to create a user), your issue it likely a messed up installation of SSMS.

    0 comments No comments

4 additional answers

Sort by: Most helpful
  1. Olaf Helper 44,311 Reputation points
    2020-09-22T06:59:22.64+00:00

    Do you have the permissions to create new logins, e.g. because you are member of the SysAdmin or SecurityAdmin role?

    0 comments No comments

  2. m 4,271 Reputation points
    2020-09-22T08:09:24.08+00:00

    Hi @Bala G ,

    1.Firstly please make sure you have the Alter Any User Permission on the database;

    --Execute code as next to check what permissions your account have:  
    --Instance Level  
    SELECT * FROM fn_my_permissions(NULL, 'SERVER');   
    
    --Database Level  
    SELECT * FROM fn_my_permissions ('DBA', 'DATABASE');  
    

    2.Please try to create a new user with t_sql: create-user-transact-sql

    3.Download the latest SSMS to take your test: release-notes-ssms

    Note:
    A user is a database level security principal. Logins must be mapped to a database user to connect to a database. A login can be mapped to different databases as different users but can only be mapped as one user in each database. In a partially contained database, a user can be created that does not have a login. For more information about contained database users, see CREATE USER (Transact-SQL). If the guest user in a database is enabled, a login that is not mapped to a database user can enter the database as the guest user.

    IMPORTANT! The guest user is ordinarily disabled. Do not enable the guest user unless it is necessary.

    As a security principal, permissions can be granted to users. The scope of a user is the database. To connect to a specific database on the instance of SQL Server, a login must be mapped to a database user. Permissions inside the database are granted and denied to the database user, not the login.

    BR,
    Mia


    If the answer is helpful, please click "Accept Answer" and upvote it.

    0 comments No comments

  3. Bala G 21 Reputation points
    2020-09-22T08:40:31.58+00:00

    Hi OlafHelper-2800,

    Thanks for your reply , i dont know how to give permissions and new user creation option not available for the database 'master' as well as other DB created by me. please let me know the how to enable the option.

    26461-image.png

    0 comments No comments

  4. Bala G 21 Reputation points
    2020-09-22T11:50:36.8+00:00

    anyone tell me the solution for my issue

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.