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
 SQL Server Administration (2005)
 Remove User From Object Permissions

Author  Topic 

hismightiness
Posting Yak Master

164 Posts

Posted - 2010-02-04 : 15:59:35
I used the UI to add a user to have explicit permissions on a SProc. Now, I want to remove them from the permissions altogether from just that SProc. When I click on the user, the Remove button does not become available. How can I remove this user?

- - - -
- Will -
- - - -
http://www.willstrohl.com

russell
Pyro-ma-ni-yak

5072 Posts

Posted - 2010-02-04 : 16:25:21
In your query window
DENY EXECUTE ON sprocName TO userName
Go to Top of Page

hismightiness
Posting Yak Master

164 Posts

Posted - 2010-02-05 : 08:38:06
But I don't necessarily want to DENY EXECUTE permissions. I just want to remove any specification in that UI dialogue. This user already has DBO permissions. Adding this user in the dialogue was a mistake.

- - - -
- Will -
- - - -
http://www.willstrohl.com
Go to Top of Page
   

- Advertisement -