Returns one row for every SQL Server authentication login.
Applies to: SQL Server (SQL Server 2008 through current version), Azure SQL Database.
Inherits from sys.server_principals.
Password will be checked against the password policy when the password is changed.
Password expiration is checked.
Hash of SQL login password.
For a list of columns that this view inherits, see sys.server_principals (Transact-SQL).
Any SQL Server authentication login can see their own login name, and the sa login. To see other logins, requires ALTER ANY LOGIN, or a permission on the login.
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.