list all store proc without exec permission

  • I have a user that would like to see what store procs are available in the database. But he will not have any execute rights on the store procs. is there anyway I can accomplish this.

    Thanks

  • you could grant access to the sys.objects view or you could create your own view and give them access to that

    something like this would do it.

    select name

    from sys.objects

    where type = 'P' and is_ms_shipped = 0

    order by Name

    Out of curiosity, why would you do this??

Viewing 2 posts - 1 through 1 (of 1 total)

You must be logged in to reply to this topic. Login to reply