Giving windows account Read permission to an database

  • I have an user for whom read access has to be given to number of dbs.

    I gave db_datareader to that user in 1 db A. But, he got access to view tables, and run create/drop statements in db B too. I am flummoxed by this. What should i do give an users windows account read access to db

    in sql 2005, 2008,2008r2

  • Have you checked the User mappings of the Login for the user you gave db_datareader?

    Igor Micev,My blog: www.igormicev.com

  • Yes, I did that. Iright click user, user mappings, clik on database, giving read access

  • Guys, any help to get over this would be great.

  • Have you had any luck with this yet?

    exec sp_addrolemember 'db_datareader',YourLogin should do the trick.

    Andre Ranieri

Viewing 5 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic. Login to reply