Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2005 Forums
 Transact-SQL (2005)
 Check Access of stored procedure

Author  Topic 

Vinnie881
Master Smack Fu Yak Hacker

1231 Posts

Posted - 2007-10-03 : 12:00:10
I have a .Net windows application, where I want to check to see if the logged on user has access to a specific stored procedure.

Is there any way to do this with a query, w/o actually trying to run the procedure?

harsh_athalye
Master Smack Fu Yak Hacker

5581 Posts

Posted - 2007-10-03 : 12:03:22
Use sp_helprotect system stored procedure.

Harsh Athalye
India.
"The IMPOSSIBLE is often UNTRIED"
Go to Top of Page
   

- Advertisement -