ValidatePasswordEventArgs.IsNewUser 属性

定义

获取一个值,该值指示调用 CreateUser(String, String, String, String, String, Boolean, Object, MembershipCreateStatus) 方法的过程中是否引发 ValidatingPassword 事件。Gets a value that indicates whether the ValidatingPassword event is being raised during a call to the CreateUser(String, String, String, String, String, Boolean, Object, MembershipCreateStatus) method.

public:
 property bool IsNewUser { bool get(); };
public bool IsNewUser { get; }
member this.IsNewUser : bool
Public ReadOnly Property IsNewUser As Boolean

属性值

Boolean

如果调用 CreateUser(String, String, String, String, String, Boolean, Object, MembershipCreateStatus) 方法的过程中引发了 ValidatingPassword 事件,则为 true;否则为 falsetrue if the ValidatingPassword event is being raised during a call to the CreateUser(String, String, String, String, String, Boolean, Object, MembershipCreateStatus) method; otherwise, false.

适用于