Skip to main content
.NET 8.0+

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

SecurityModule.CustomChangePasswordOnLogon Event

Occurs when the ChangePasswordOnLogon Action is being executed.

Namespace: DevExpress.ExpressApp.Security

Assembly: DevExpress.ExpressApp.Security.v24.2.dll

#Declaration

public event EventHandler<CustomChangePasswordOnLogonEventArgs> CustomChangePasswordOnLogon

#Event Data

The CustomChangePasswordOnLogon event's data class is DevExpress.ExpressApp.Security.CustomChangePasswordOnLogonEventArgs.

#Remarks

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.

See Also