xp_revokelogin (Transact-SQL)
SQL Server 2012
Revokes access from a Windows group or user to SQL Server.
Important
|
|---|
|
This feature will be removed in a future version of Microsoft SQL Server. Avoid using this feature in new development work, and plan to modify applications that currently use this feature. Use DROP LOGIN instead. |

Important