VistaDB 6
VistaDB.Web Namespace / VistaDBMembershipProvider Class / ValidatingPassword Event


In This Topic
    ValidatingPassword Event
    In This Topic
    Occurs when a user is created, a password is changed, or a password is reset.
    Syntax
    '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.

    PropertyDescription
    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.  
    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