'Declaration
Public Event ValidatingPassword As System.Web.Security.MembershipValidatePasswordEventHandler
'Usage
Dim instance As VistaDBMembershipProvider Dim handler As System.Web.Security.MembershipValidatePasswordEventHandler AddHandler instance.ValidatingPassword, handler
public event System.Web.Security.MembershipValidatePasswordEventHandler ValidatingPassword
Event Data
The event handler receives an argument of type System.Web.Security.ValidatePasswordEventArgs containing data related to this event. The following ValidatePasswordEventArgs 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 System.Web.Security.MembershipProvider.ValidatingPassword event is being raised during a call to the System.Web.Security.MembershipProvider.CreateUser(System.String,System.String,System.String,System.String,System.String,System.Boolean,System.Object,System.Web.Security.MembershipCreateStatus@) 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. |
Requirements
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
See Also