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 2000 Forums
 SQL Server Administration (2000)
 access to objects

Author  Topic 

sunnyjassal
Starting Member

28 Posts

Posted - 2004-05-24 : 15:27:21
Hello,

I wanted to know what procedure would I use to give access to a user for a particular object in the database.

I have looked around and I know that I can do this with the GUI, But I wanted to do this by running a script.

basically
I want to give a user privledge to execute a stored procedure

Thank you for your help.

Sunny Jassal

tkizer
Almighty SQL Goddess

38200 Posts

Posted - 2004-05-24 : 15:28:02
GRANT EXEC ON dbo.StoredProcName TO UserNameOrRoleName

Tara
Go to Top of Page
   

- Advertisement -