GetLastPasswordFailureDate (WebSecurity Ref)

Gets the date and time for the last password failure, and takes one argument: the username.

Syntax

WebSecurity.GetLastPasswordFailureDate(string username)

Example

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

See Also

GetUserId

GetLastPasswordChangeDate

GetuserIdFromPasswordResetToken