Home > Configuration > System > setsystemparameter_passwordhistorycontrol

setsystemparameter_passwordhistorycontrol

Use this method to set enables or disable password expiry feature for system users.
If the feature is ENABLED, by default the last 6 passwords of users will be maintained and will not be allowed to reuse same.
When the feature is enabled the daystoexpire, warnpriorndays and pwdhistoryCount will be set with default values. The values can only be set in system
for system parameter. It cannot be unset. It is possible to set and unset the values for daytoexpire and warnpriorndays in system groups.
Default values if feature is ENABLED:
daystoexpire: 30
warnpriorndays: 5
pwdhistoryCount: 6
If the feature is DISABLED the values cannot be set or unset in system parameter and system groups

Syntax



Parameters

passwordhistorycontrol

Enables or disable password expiry feature for system users. If the feature is ENABLED, by default the last 6 passwords of users will be maintained and will not be allowed to reuse same. When the feature is enabled the daystoexpire, warnpriorndays and pwdhistoryCount will be set with default values. The values can only be set in system for system parameter. It cannot be unset. It is possible to set and unset the values for daytoexpire and warnpriorndays in system groups. Default values if feature is ENABLED: daystoexpire: 30 warnpriorndays: 5 pwdhistoryCount: 6 If the feature is DISABLED the values cannot be set or unset in system parameter and system groups
Default value = NS_DISABLE2.
Possible Values : ENABLED, DISABLED.

Return Value

Returns simpleResult

See Also