다음을 통해 공유


DenyNTLogin Property

Microsoft SQL Server의 이후 버전에서는 이 기능이 제거됩니다. 새 개발 작업에서는 이 기능을 사용하지 않도록 하고, 현재 이 기능을 사용하는 응용 프로그램은 수정하십시오.

The DenyNTLogin property controls access to an instance of Microsoft SQL Server for login records that identify users or groups in Microsoft Windows.

구문

object
.DenyNTLogin [=value]

Parts

  • object
    An expression that evaluates to an object in the Applies To list

  • value
    TRUE or FALSE

Data Type

Boolean

Modifiable

Read/write

Prototype (C/C++)

HRESULT GetDenyNTLogin(LPBOOL pRetVal);
HRESULT SetDenyNTLogin(BOOL NewValue);

주의

If TRUE, any Windows authenticated connection attempt that specifies the user or group name fails authentication.

If FALSE, the Windows 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 users and groups.

Applies To: