set_password_expiration_policy


Description:

public void set_password_expiration_policy (int64 min_days_between_changes, int64 max_days_between_changes, int64 days_to_warn, int64 days_after_expiration_until_lock)

Set the password expiration policy for a user.

Note this function is synchronous and ignores errors.

Parameters:

this

the user object to query.

min_days_between_changes

location to write minimum number of days needed between password changes.

max_days_between_changes

location to write maximum number of days password can stay unchanged.

days_to_warn

location to write number of days to warn user password is about to expire.

days_after_expiration_until_lock

location to write number of days account will be locked after password expires.




2022 vala-language.org