Goto SSMS -> New User. Provide your user name, in my case its sample_user
Choose the authentication and choose the default database.
Default database indicates the database to which the user is having the access. In the next page, you can specify the level of access to the user. The next drop down is Default language -> I have made it as default and it's English.
Arabic, Brazilian, British English, Bulgarian, Croatian, Czech, Danish are some of the languages listed.
In the next window, you can specify the role of the user and it's server role. I have informed that, this person is a sysadmin and public too.
Next option is "User Mapping", here all the database will be listed. You can specify the level of access to be provided to this user for each database.
Provide necessary access level in the database level. Make the user as public for that specific database. Now click "OK". Reopen the login page for that particular user. "VenkatDB" is disappeared.
Now, I am trying to access the objects in the database. Below is the message received.
No comments:
Post a Comment