Hi,
I would like to grant VIEW stored procedure permissions to a user in the database. I would like the user to see ALL the stored procedures in the database, just not change them in any way.
So far I have determined I can use this stmt to accomplish this task:
GRANT VIEW DEFINITION ON OBJECT:atabaseNAME.usp_StoredProc
TO User;
GO
But I am wondering - do I have to run this statement for each and every stored procedure I wish to grant user permissions on? Or is there a single stmt I can use? Like using "ALL" or something? Just want to clarify before I proceed.
Thanks
I would like to grant VIEW stored procedure permissions to a user in the database. I would like the user to see ALL the stored procedures in the database, just not change them in any way.
So far I have determined I can use this stmt to accomplish this task:
GRANT VIEW DEFINITION ON OBJECT:atabaseNAME.usp_StoredProc
TO User;
GO
But I am wondering - do I have to run this statement for each and every stored procedure I wish to grant user permissions on? Or is there a single stmt I can use? Like using "ALL" or something? Just want to clarify before I proceed.
Thanks