RevokeNTLogin Method

SQLServer.IntegratedSecurity Object

Description

Revokes existing SQL Server access from a Windows NT group or user account access. The Windows NT group or user account must have previously been given access to SQL Server using the GrantNTLogin method.

Visual Basic

IntegratedSecurity.RevokeNTLogin ( [Account :=] strAccount )

C++

HRESULT pIntegratedSecurity->RevokeNTLogin ( SQLOLE_LPCSTR strAccount );

Elements

Element Type Description

strAccount String Windows NT group or user account

Reference

xp_revokelogin