LocalAccounts_Policy_Info

LocalAccounts_Policy_Info
LocalAccounts_Policy_Info

The Policy.Info structure defines the global password policy.

JSON Example
{
    "max_days": 0,
    "min_days": 0,
    "warn_days": 0
}
integer As int64
max_days
Optional

Maximum number of days a password may be used. If the password is older than this, a password change will be forced. If unset then the restriction will be ignored.

integer As int64
min_days
Optional

Minimum number of days allowed between password changes. Any password changes attempted sooner than this will be rejected. If unset then the restriction will be ignored.

integer As int64
warn_days
Optional

Number of days warning given before a password expires. A zero means warning is given only upon the day of expiration. If unset then no warning will be provided.