The DenyNTLogin property controls access to an instance of Microsoft® SQL Server™ for login records that identify Microsoft Windows NT® users or groups.
object.DenyNTLogin [= value]
object
Expression that evaluates to an object in the Applies To list
value
TRUE or FALSE
Boolean
Read/write
HRESULT GetDenyNTLogin(LPBOOL pRetVal);
HRESULT SetDenyNTLogin(BOOL NewValue);
When TRUE, any Windows NT authenticated connection attempt that specifies the user or group name fails authentication.
When FALSE, the Windows NT user or group is allowed access to the instance of SQL Server on which the login is defined. Access rights are established through login and user role memberships and permissions explicitly granted on databases and database objects.
Use DenyNTLogin to specifically deny access to Windows NT users and groups.