RE: Programatically find out stored procedures properties

From: Mal .mullerjannie_at_hotmail.com> (.mullerjannie_at_hotmail.com)
Date: 02/01/05


Date: Tue, 1 Feb 2005 09:33:02 -0800

Hi

I'm sure if you asks questions like this you know you way around SQL,
I did some searching in BOL since this is something that could be usefull
and I would in the future maybe use it.

So I came across this

A. List the permissions for a table
This example lists the permissions for the titles table.

EXEC sp_helprotect 'titles'

B. List the permissions for a user
This example lists all permissions that user Judy has in the current database.

EXEC sp_helprotect NULL, 'Judy'

Now there's a lot of other "users info" tables and processes, so I'm sure if
you search BOL you'll find some usefull info. I'll search and see if I can
come up with something, and add it.

HTH

"dfate" wrote:

> Hi all,
> How do I find out what id's have execute permissions on each procedure in a
> database for all procedures using t-sql?
>
> -Thanks! dave
>
>
>



Relevant Pages

  • Re: rights for each login
    ... >BOL says ... List the permissions for a user ... >This example lists all permissions that user Judy has in ...
    (microsoft.public.sqlserver.server)
  • Re: Table Groups?
    ... > I went back through BOL and I think I see the approach you suggest. ... I believe David was simply suggesting that you use a standard database role ... Add a Windows Group to the database and assign permissions to that group ...
    (microsoft.public.sqlserver.programming)
  • Re: Table Groups?
    ... "Chris Hohmann" wrote in message ... >> I went back through BOL and I think I see the approach you suggest. ... > I believe David was simply suggesting that you use a standard database ... > for each application and assign permissions accordingly. ...
    (microsoft.public.sqlserver.programming)
  • Re: Unable to restore database from msde to sql server
    ... from bol ... If the database being restored does not exist, ... DATABASE permissions to be able to execute RESTORE. ...
    (microsoft.public.sqlserver.programming)
  • Reg. Directory listing program
    ... I am new to this mailing list and I am very new to PERL. ... I wrote a code that lists files in a directory with the permissions. ... Directory listing program ...
    (perl.beginners)