IsConfirmed (WebSecurity Ref)

Checks if a user account is confirmed. It returns true or false and accepts one argument: the username.

Example

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

See Also

IsAccountLockedOut

IsAuthenticated