public static IsAccountLockedOut ( string userName, int allowedPasswordAttempts, System.TimeSpan interval ) : bool | ||
userName | string | |
allowedPasswordAttempts | int | |
interval | System.TimeSpan | |
return | bool |
public static bool IsAccountLockedOut(string userName, int allowedPasswordAttempts, TimeSpan interval)
{
CodeFirstExtendedProvider provider = VerifyProvider();
return IsAccountLockedOutInternal(provider, userName, allowedPasswordAttempts, interval);
}
CodeFirstSecurity::IsAccountLockedOut ( string userName, int allowedPasswordAttempts, int intervalInSeconds ) : bool |