I have a database Mydatabase with a view in it, MyView.
I want any user who is a member of the Public role to be able to select from the view.
I’ve done GRANT SELECT ON MyView TO [Public], created a test login on the sql server called Test and made it a member of the Public role, but still can’t select the View.
What am I doing wrong?
The login “Test” needs set up in the database as a “User”.
By default, all users are a member of the database public role.
See Principals in BOL