How can I grant datareader to a sql role?
-
26-09-2019 - |
Question
Is it possible to grant the datareader privileges to a SQL Server Database Role rather than a User?
Solution
Using the GRANT command.
USE DBNAME;
GRANT SELECT TO RoleName;
GO
OTHER TIPS
You could add your (user defined) database role to db_datareader as a role member, using the UI.
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow