April 1, 2011 at 8:37 am
Is there a script which will allow me to create ReadOnly user on sql server.
This user should be able to read all the tables, its contents, stored procedures , functions (all the objects).
It should also have access to execute all the stored procedures functions etc.
thanks
April 1, 2011 at 8:53 am
see this post that i did recently on creating a read only user that also could EXECUTE procs and functions;
http://www.sqlservercentral.com/Forums/Topic1084522-5-1.aspx#bm1084563
what you are asking is exactly the same, with one more privilege to the Role: you want them to read the text/definitions of the procedures, right?
all you would do is add the VIEW ANY DEFINITION to the role you see in that example:
GRANT VIEW ANY DEFINITION TO [ReallyReadOnly]
Lowell
Viewing 2 posts - 1 through 2 (of 2 total)
You must be logged in to reply to this topic. Login to reply