September 6, 2016 at 8:42 am
All, I granted user to see all SPs in all DBs but he is not able to see any. Am I missing any steps?
This is what I ran: GRANT VIEW DEFINITION TO USER
September 6, 2016 at 8:49 am
Chitown (9/6/2016)
All, I granted user to see all SPs in all DBs but he is not able to see any. Am I missing any steps?This is what I ran:
GRANT VIEW DEFINITION TO USER
What did you grant view definition ON?
You seem to have left out the object or schema that you were granting the rights to.
Such as:
GRANT VIEW DEFINITION ON SCHEMA::dbo TO db_view_schema
Michael L John
If you assassinate a DBA, would you pull a trigger?
To properly post on a forum:
http://www.sqlservercentral.com/articles/61537/
September 6, 2016 at 10:18 am
Michael L John (9/6/2016)
Chitown (9/6/2016)
All, I granted user to see all SPs in all DBs but he is not able to see any. Am I missing any steps?This is what I ran:
GRANT VIEW DEFINITION TO USER
What did you grant view definition ON?
You seem to have left out the object or schema that you were granting the rights to.
Such as:
GRANT VIEW DEFINITION ON SCHEMA::dbo TO db_view_schema
Still not working.
GRANT VIEW DEFINITION ON SCHEMA::administration TO
September 6, 2016 at 11:21 am
And did you check all of the users other permissions as well? If they have a deny view somewhere individually or through a role, deny takes precedence. If you did check, please provide the query that was used.
Sue
September 6, 2016 at 12:22 pm
That query worked fine. That user was looking in the wrong server. Don't you just love that?:-)
September 6, 2016 at 12:25 pm
Nice!!!
I've never had that kind of stuff happen! :w00t:
Michael L John
If you assassinate a DBA, would you pull a trigger?
To properly post on a forum:
http://www.sqlservercentral.com/articles/61537/
September 6, 2016 at 1:11 pm
Kind of like all the scripts that accidentally get run in master...."I can't find the table I created in my database".
Thanks for posting back Chitown - really helps others who come across the thread.
Sue
Viewing 7 posts - 1 through 6 (of 6 total)
You must be logged in to reply to this topic. Login to reply