Re: Getting a list of Stored Procedures

From: Wayne Snyder (wayne.nospam.snyder_at_mariner-usa.com)
Date: 06/23/04


Date: Wed, 23 Jun 2004 07:45:13 -0400

Take a look at sp_helprotect. It is doc's in books on line and gives you the
permissions associated with an object.... If you can not use the sp
directly, then check out the code inside and use it to create your own sp.

-- 
Wayne Snyder, MCDBA, SQL Server MVP
Mariner, Charlotte, NC
www.mariner-usa.com
(Please respond only to the newsgroups.)
I support the Professional Association of SQL Server (PASS) and it's
community of SQL Server professionals.
www.sqlpass.org
"Craig G" <Gambit001@hotmail.com> wrote in message
news:eJ2y7uQWEHA.2996@TK2MSFTNGP12.phx.gbl...
> where/how can i get a list of stored procedures for a certain database and
> details on which users have excute privlege on them
>
> i have been given a task of designing something similar along the lines of
> what SQL2000 already does, something similar to when you select manage
> persmissions in Enterprise manager and it brings up the little dialog
where
> you can tick or x privileges for users.
>
> Cheers,
> Craig
>
>


Relevant Pages

  • Re: Restricting access to rows of table(s)+WRITE rights in SQLsrvr2k
    ... one with select permissions and another with select, insert, update, delete ... Wayne Snyder, MCDBA, SQL Server MVP ... of SQL Server professionals. ... > and the other-with Read+WRITErights. ...
    (microsoft.public.sqlserver.security)
  • Re: Using script to list users and their allocated security
    ... Now that I think about it, I doubt the views include permissions obtained ... Wayne Snyder, MCDBA, SQL Server MVP ... community of SQL Server professionals. ... > a SQL Server 2000 database with read permissions or write permissions via ...
    (microsoft.public.sqlserver.server)
  • Re: Securing a Custom Application
    ... Do I need to revoke any permissions from Administrators or the sa account? ... > can encrypt the password over the wire using ODBC encryption. ... > Wayne Snyder, MCDBA, SQL Server MVP ... > community of SQL Server professionals. ...
    (microsoft.public.sqlserver.security)
  • Re: Execute permission for all sprocs
    ... Jasper Smith (SQL Server MVP) ... community for SQL Server professionals - ... "Craig HB" wrote in message ...
    (microsoft.public.sqlserver.security)
  • Re: Getting a list of Stored Procedures
    ... It is doc's in books on line and gives you ... > permissions associated with an object.... ... > Wayne Snyder, MCDBA, SQL Server MVP ... > community of SQL Server professionals. ...
    (microsoft.public.sqlserver.programming)