SQLServer.IntegratedSecurity Object
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.
IntegratedSecurity.RevokeNTLogin ( [Account :=] strAccount )
HRESULT pIntegratedSecurity->RevokeNTLogin ( SQLOLE_LPCSTR strAccount );
Element | Type | Description |
---|
strAccount | String | Windows NT group or user account |
xp_revokelogin