MembershipUser.LastLockoutDate 속성

정의

멤버 자격 사용자가 잠긴 가장 최근 날짜와 시간을 가져옵니다.

public:
 virtual property DateTime LastLockoutDate { DateTime get(); };
public virtual DateTime LastLockoutDate { get; }
member this.LastLockoutDate : DateTime
Public Overridable ReadOnly Property LastLockoutDate As DateTime

속성 값

DateTime

멤버 자격 사용자가 잠긴 가장 최근의 날짜 및 시간을 나타내는 DateTime 개체입니다.

설명

사용자는 가장 일반적으로 내에서 PasswordAttemptWindow도달하면 MaxInvalidPasswordAttempts 잠깁니다.

암호 답변을 수락하는 오버로드를 사용하거나 ResetPassword 오버로드를 사용하는 GetPassword 경우 사용자가 입력한 잘못된 답변 수가 해당 내에 Membership.PasswordAttemptWindow도달하는 Membership.MaxInvalidPasswordAttempts 경우에도 사용자를 잠글 수 있습니다.

속성의 LastLockoutDate 기본값은 멤버 자격 공급자에 의해 결정됩니다. 예를 들어 공급자 LastLockoutDate 를 사용하여 SqlMembershipProvider 멤버 자격 사용자를 만들 때 사용자의 속성은 처음에 01/01/1754로 설정됩니다.

적용 대상

추가 정보