LOGINPROPERTY (information about login policy settings)
LOGINPROPERTY function returns information about the password policy settings of a SQL Server login.
The names of the properties are not case sensitive.
NULL will be returnd if the login is not a valid SQL Server login.
< ...