Remarque
L’accès à cette page nécessite une autorisation. Vous pouvez essayer de vous connecter ou de modifier des répertoires.
L’accès à cette page nécessite une autorisation. Vous pouvez essayer de modifier des répertoires.
Cette fonctionnalité sera supprimée dans une prochaine version de Microsoft SQL Server. Évitez d'utiliser cette fonctionnalité dans de nouveaux travaux de développement, et prévoyez de modifier les applications qui utilisent actuellement cette fonctionnalité.
The DenyNTLogin property controls access to an instance of Microsoft SQL Server for login records that identify users or groups in Microsoft Windows.
Syntaxe
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);
Notes
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.