user map is auto unchecking sql?

Seshagiri Rao Vadrevu 101 Reputation points
2021-07-15T04:13:50.28+00:00

hi all,

iv tried to give access to a specific db for a user, via gui ( instance -> security -> logins -> user -> right click properties -> user mapping )

where I'm checking map -> and gave access as a DB writer and clicked ok

the task executed successfully but when I check the user there is DB writer permission but the map is getting un-checked automatically

can anyone help me fix this

SQL Server | Other
SQL Server | Other

Additional SQL Server features and topics not covered by specific categories


2 answers

Sort by: Most helpful
  1. JEFFREY WONG 0 Reputation points
    2026-03-20T22:06:27.38+00:00

    To whom it may concern,
    This fixed this issue for me:

    Use [database]
    grant connect to [user]

    Was this answer helpful?

    0 comments No comments

  2. Seeya Xi-MSFT 16,756 Reputation points
    2021-07-15T06:36:34.58+00:00

    Hi @Seshagiri Rao Vadrevu ,

    the task executed successfully but when I check the user there is DB writer permission but the map is getting un-checked automatically

    Did you restart SSMS and try again? What‘s your version?
    Does your user actually have permission to write?

    Best regards,
    Seeya


    If the response is helpful, please click "Accept Answer" and upvote it, as this could help other community members looking for similar queries.
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    Was this answer helpful?


Your answer

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