Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2008 Forums
 SQL Server Administration (2008)
 user-name can access only one particular db

Author  Topic 

Anand.A
Posting Yak Master

109 Posts

Posted - 2011-10-12 : 07:15:54
hi,
i create user-name and password for sql server 2008 but this user can access all the db

but i want to create user-name and password that user-name can access only one particular db in sql server 2008..

how to do this any one can help this

anand

chris_cs
Posting Yak Master

223 Posts

Posted - 2011-10-12 : 08:50:59
Which server roles did you give the user?

Junior DBA learning the ropes
Go to Top of Page

Cindyaz
Yak Posting Veteran

73 Posts

Posted - 2011-10-16 : 16:27:02
Under Security, right click that login, go to user mappings, select database that you want that login to access.

Go to Top of Page
   

- Advertisement -