Visual Guard Class Library Documentation

VGMembership.VGValidatePasswordEventHandler Event

Occurs when a user is created, a password is changed, or a password is reset.

public static event VGValidatePasswordEventHandler ValidatingPassword;

Event Data

The event handler receives an argument of type VGValidatePasswordEventArgs containing data related to this event. The following VGValidatePasswordEventArgs properties provide information specific to this event.

Property Description
Cancel Gets or sets a value that indicates whether the current create-user, change-password, or reset-password action will be canceled.
FailureInformation Gets or sets an exception that describes the reason for the password-validation failure.
IsNewUser Gets a value that indicates whether the ValidatingPassword event is being raised during a call to the CreateUser method.
Password Gets the password for the current create-user, change-password, or reset-password action.
UserName Gets the name of the membership user for the current create-user, change-password, or reset-password action.

See Also

VGMembership Class | Novalys.VisualGuard.Security.Membership Namespace