ValidatePasswordEventArgs(String, String, Boolean) 建構函式

定義

建立一個新的類別實例 ValidatePasswordEventArgs

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)

參數

userName
String

目前建立使用者、更改密碼或重設密碼動作的成員使用者名稱。

password
String

指定會員用戶的新密碼。

isNewUser
Boolean

true如果事件發生在新使用者建立過程中;否則,。 false

備註

ValidatePasswordEventArgs建構子被成員提供者實作使用,CreateUserChangePassword這些實作與方法實作。ResetPassword

適用於

另請參閱