sys.xp_revokelogin
Revokes access from a Windows group or user to SQL Server.
What changes
- Input
- Not stated in the Microsoft summary.
- Output or change
- Revokes access from a Windows group or user to SQL Server.
Syntax at a glance
sys.xp_revokelogin [ @loginame = ] N'loginame'
[ ; ]
Work example
Revokes access from a Windows group or user to SQL Server.
Read the permission and security notes. Describe the host or instance effect without running the procedure.
Check your work Which external resource or server capability could this procedure reach?
Open Microsoft Learn for full syntax, permissions, and details for your version.