Dela via


sys.sql_logins (Transact-SQL)

Returns one row for every SQL login.

Column name

Data type

Description

<inherited columns>

--

Inherits from sys.server_principals.

is_policy_checked

bit

Password policy is checked.

is_expiration_checked

bit

Password expiration is checked.

password_hash

varbinary(256)

Hash of SQL login password.

For a list of columns that this view inherits, see sys.server_principals (Transact-SQL).

Permissions

In SQL Server 2005 and later versions, the visibility of the metadata in catalog views is limited to securables that a user either owns or on which the user has been granted some permission. For more information, see Metadata Visibility Configuration.