Upraviť

Zdieľať cez


AuthenticablePrincipal.IsAccountLockedOut Method

Definition

Returns a Boolean value that specifies whether the account is currently locked out.

public:
 bool IsAccountLockedOut();
public bool IsAccountLockedOut ();
member this.IsAccountLockedOut : unit -> bool
Public Function IsAccountLockedOut () As Boolean

Returns

true if the account is locked out; otherwise false.

Remarks

It is possible that an account may not be locked out when the AccountLockoutTime returns a non-null value. This method computes the correct store-specific lockout value to determine whether the account is locked out.

Applies to