set_password_mode


Description:

public void set_password_mode (UserPasswordMode password_mode)

Changes the password of this.

If password_mode is ACT_USER_PASSWORD_MODE_SET_AT_LOGIN then the user will be asked for a new password at the next login. If password_mode is ACT_USER_PASSWORD_MODE_NONE then the user will not require a password to log in.

Note this function is synchronous and ignores errors.

Parameters:

this

the user object to alter.

password_mode

a UserPasswordMode