ASP.NET WebSecurity Class – Reference

The WebSecurity class in ASP.NET WebPages provides a fully featured account membership and management system. The table below has the methods and properties available to the WebSecurity Class.

ChangePassword ConfirmAccount CreateUserAndAccount
CurrentUserId CurrentUserName GeneratePasswordResetToken
GetCreateDate GetLastPasswordChangeDate GetLastPasswordFailureDate
GetLastPasswordFailuresSinceLastSuccess GetUserId GetUserIdFromPasswordResetToken
InitializeDatabaseConnection IsAccountLockedOut IsAuthenticated
IsConfirmed IsCurrentUser Login
Logout RequireAuthenticatedUser ResetPassword
UserExists