User Permission

  • Hello Everyone

    I am trying to figure out a way to grant a SQL User, db_DataReader Access, but also allow the user to see the list of Stored Procedures / Views. Is there a way?

    Thank you in advance

    Andrew SQLDBA

  • This should do the trick assuming the views and sprocs you want them to see are all in the dbo schema.

    GRANT VIEW DEFINITION ON SCHEMA::[dbo] TO [sqluser]

    GO

  • Sweet, thank you

    I will give that a try.

    Andrew SQLDBA

Viewing 3 posts - 1 through 2 (of 2 total)

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