sp_revoke_login_from_proxy (Transact-SQL)
SQL Server 2005
Removes access to a proxy for a security principal.
- [ @name = ] 'name'
-
The name of the SQL Server login, server role, or msdb database role to remove access for. name is nvarchar(256) with no default.
- [ @proxy_id = ] id
-
The id of the proxy to remove access for. Either id or proxy_name must be specified, but both cannot be specified. The id is int, with a default of NULL.
- [ @proxy_name = ] 'proxy_name'
-
The name of the proxy to remove access for. Either id or proxy_name must be specified, but both cannot be specified. The proxy_name is sysname, with a default of NULL.
Reference
sp_grant_login_to_proxy (Transact-SQL)sp_help_proxy (Transact-SQL)