Applying login profile and password policy attributes

The attributes of a large number of login accounts can be managed by defining a login profile as the default for all login accounts, a subset of login accounts, or individual login accounts.

The attributes of login profiles are associated with login accounts using the following precedence:

  1. Attribute values from a login profile bound to the login

  2. Attribute values from a default login profile

  3. Values which have been specified using sp_passwordpolicy under the following circumstances:

    • A default login profile does not exit

    • A login profile has not been defined and bound to the account

    • The login profile is set to be ignored (the parameter with login profile ignore is specified for the command create login)

  4. The default value for the attribute