Occurs when the ChangePasswordOnLogon Action is being executed.
public event EventHandler<CustomChangePasswordOnLogonEventArgs> CustomChangePasswordOnLogon
Public Event CustomChangePasswordOnLogon As EventHandler(Of CustomChangePasswordOnLogonEventArgs)
The CustomChangePasswordOnLogon event handler receives an argument of the DevExpress.ExpressApp.Security.CustomChangePasswordOnLogonEventArgs type.
Handle this event to customize the behavior of theChangePasswordOnLogon Action. By default, a separate IObjectSpace is created, a SecuritySystem.CurrentUser object is queried and the ChangePasswordOnLogonParameters.NewPassword value is passed to the IAuthenticationStandardUser.SetPassword method to update the password. The password change is immediately committed to the database. After the change is successfully committed, the new password is passed to the SecurityModule.TryUpdateLogonParameters method.