GetLastPasswordFailuresSinceLastSuccess (WebSecurity Ref)

Gets the password failures since the last time the user logged in successfully. It returns an int value and requires one argument: the username. If there are no password failures it will return 0.

Example

<!DOCTYPE html>
 
<html lang="en">
    <head>
        <meta charset="utf-8" />
        <title></title>
    </head>
    <body>
        @WebSecurity.GetPasswordFailuresSinceLastSuccess(WebSecurity.CurrentUserName)
    </body>
</html>