Windows NT Access Constants (SQLDMO_NTACCESS_TYPE)

SQL-DMO

SQL-DMO

Windows NT Access Constants (SQLDMO_NTACCESS_TYPE)

Windows NT access constants are used to return the login access types of Microsoft® Windows NT® users.

Constant Value Description
SQLDMONTAccess_Deny 2 This login has explicit deny permissions to access this server.
SQLDMONTAccess_Grant 1 This login has explicit grant permissions to access this server.
SQLDMONTAccess_NonNTLogin 99 The login is a standard Microsoft® SQL Server™ login; the property does not apply.
SQLDMONTAccess_Unknown 0 The login has not been explicitly granted or denied permissions to access this server. The login may still have access through a group membership, but this is not recorded as a login property.

See Also

NTLoginAccessType Property