LocalAccountsPolicyInfo

The Policy.Info structure defines the global password policy.


Properties

integer
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
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
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.

JSON Example

{
    "max_days": 0,
    "min_days": 0,
    "warn_days": 0
}
Feedback

Was this page helpful?