VistaDB 5

ValidatingPassword Event
Public Event ValidatingPassword As System.Web.Security.MembershipValidatePasswordEventHandler
Dim instance As VistaDBMembershipProvider
Dim handler As System.Web.Security.MembershipValidatePasswordEventHandler
AddHandler instance.ValidatingPassword, handler
public event System.Web.Security.MembershipValidatePasswordEventHandler ValidatingPassword
public event ValidatingPassword: System.Web.Security.MembershipValidatePasswordEventHandler; 
In JScript, you can handle the events defined by another class, but you cannot define your own.
public: __event System.Web.Security.MembershipValidatePasswordEventHandler* ValidatingPassword
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.

Gets or sets a value that indicates whether the current create-user, change-password, or reset-password action will be canceled.  
Gets or sets an exception that describes the reason for the password-validation failure.  
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.  
Gets the password for the current create-user, change-password, or reset-password action.  
Gets the name of the membership user for the current create-user, change-password, or reset-password action.  

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