sql server - Why i can not delete user log in in my database? -


i connect sql server windows authentication , create simple database , table on it,and define new log in user , set sql server authentication,every thing fine,but connect database windows authentication too,i want delete windows authentication,and want connect database sql server authentication,this picture problem:
when connect sql server authentication,i define rajabi user log in.
enter image description here

but want rajabi user can connect database.how can solve that?thanks.

what if roles have granted new user? granting reader role new user should allow said user connect.

right click on user -> properties -> membership -> checked? check db_datareader allow user connect.


Comments

Popular posts from this blog

java - Date formats difference between yyyy-MM-dd'T'HH:mm:ss and yyyy-MM-dd'T'HH:mm:ssXXX -

c# - Get rid of xmlns attribute when adding node to existing xml -