Muokkaa

Jaa


ValidatePasswordEventArgs(String, String, Boolean) Constructor

Definition

Creates a new instance of the ValidatePasswordEventArgs class.

public:
 ValidatePasswordEventArgs(System::String ^ userName, System::String ^ password, bool isNewUser);
public ValidatePasswordEventArgs (string userName, string password, bool isNewUser);
new System.Web.Security.ValidatePasswordEventArgs : string * string * bool -> System.Web.Security.ValidatePasswordEventArgs
Public Sub New (userName As String, password As String, isNewUser As Boolean)

Parameters

userName
String

The membership user name for the current create-user, change-password, or reset-password action.

password
String

The new password for the specified membership user.

isNewUser
Boolean

true if the event is occurring while a new user is being created; otherwise, false.

Remarks

The ValidatePasswordEventArgs constructor is used by a membership provider implementation in the CreateUser, ChangePassword, and ResetPassword method implementations.

Applies to

See also