Метод | Описание | |
---|---|---|
ChangePassword ( string userName, string currentPassword, string newPassword ) : bool | ||
ConfirmAccount ( string accountConfirmationToken ) : bool | ||
CreateAccount ( string userName, string password, bool requireConfirmationToken = false ) : string | ||
CreateUserAndAccount ( string userName, string password, object propertyValues = null, bool requireConfirmationToken = false ) : string | ||
GeneratePasswordResetToken ( string userName, int tokenExpirationInMinutesFromNow = 0x5a0 ) : string | ||
GetCreateDate ( string userName ) : System.DateTime | ||
GetLastPasswordFailureDate ( string userName ) : System.DateTime | ||
GetPasswordChangedDate ( string userName ) : System.DateTime | ||
GetPasswordFailuresSinceLastSuccess ( string userName ) : int | ||
GetUserId ( string userName ) : int | ||
GetUserIdFromPasswordResetToken ( string token ) : int | ||
InitializeDatabaseConnection ( string connectionStringName, string userTableName, string userIdColumn, string userNameColumn, bool autoCreateTables ) : void | ||
InitializeDatabaseConnection ( string connectionString, string providerName, string userTableName, string userIdColumn, string userNameColumn, bool autoCreateTables ) : void | ||
IsAccountLockedOut ( string userName, int allowedPasswordAttempts, System.TimeSpan interval ) : bool | ||
IsAccountLockedOut ( string userName, int allowedPasswordAttempts, int intervalInSeconds ) : bool | ||
IsConfirmed ( string userName ) : bool | ||
IsCurrentUser ( string userName ) : bool | ||
Login ( string userName, string password, bool persistCookie = false ) : bool | ||
Logout ( ) : void | ||
RequireAuthenticatedUser ( ) : void | ||
RequireRoles ( ) : void | ||
RequireUser ( int userId ) : void | ||
RequireUser ( string userName ) : void | ||
ResetPassword ( string passwordResetToken, string newPassword ) : bool | ||
UserExists ( string userName ) : bool |
public ChangePassword ( string userName, string currentPassword, string newPassword ) : bool | ||
userName | string | |
currentPassword | string | |
newPassword | string | |
Результат | bool |
public ConfirmAccount ( string accountConfirmationToken ) : bool | ||
accountConfirmationToken | string | |
Результат | bool |
public CreateAccount ( string userName, string password, bool requireConfirmationToken = false ) : string | ||
userName | string | |
password | string | |
requireConfirmationToken | bool | |
Результат | string |
public CreateUserAndAccount ( string userName, string password, object propertyValues = null, bool requireConfirmationToken = false ) : string | ||
userName | string | |
password | string | |
propertyValues | object | |
requireConfirmationToken | bool | |
Результат | string |
public GeneratePasswordResetToken ( string userName, int tokenExpirationInMinutesFromNow = 0x5a0 ) : string | ||
userName | string | |
tokenExpirationInMinutesFromNow | int | |
Результат | string |
public GetCreateDate ( string userName ) : System.DateTime | ||
userName | string | |
Результат | System.DateTime |
public GetLastPasswordFailureDate ( string userName ) : System.DateTime | ||
userName | string | |
Результат | System.DateTime |
public GetPasswordChangedDate ( string userName ) : System.DateTime | ||
userName | string | |
Результат | System.DateTime |
public GetPasswordFailuresSinceLastSuccess ( string userName ) : int | ||
userName | string | |
Результат | int |
public GetUserId ( string userName ) : int | ||
userName | string | |
Результат | int |
public GetUserIdFromPasswordResetToken ( string token ) : int | ||
token | string | |
Результат | int |
public InitializeDatabaseConnection ( string connectionStringName, string userTableName, string userIdColumn, string userNameColumn, bool autoCreateTables ) : void | ||
connectionStringName | string | |
userTableName | string | |
userIdColumn | string | |
userNameColumn | string | |
autoCreateTables | bool | |
Результат | void |
public InitializeDatabaseConnection ( string connectionString, string providerName, string userTableName, string userIdColumn, string userNameColumn, bool autoCreateTables ) : void | ||
connectionString | string | |
providerName | string | |
userTableName | string | |
userIdColumn | string | |
userNameColumn | string | |
autoCreateTables | bool | |
Результат | void |
public IsAccountLockedOut ( string userName, int allowedPasswordAttempts, System.TimeSpan interval ) : bool | ||
userName | string | |
allowedPasswordAttempts | int | |
interval | System.TimeSpan | |
Результат | bool |
public IsAccountLockedOut ( string userName, int allowedPasswordAttempts, int intervalInSeconds ) : bool | ||
userName | string | |
allowedPasswordAttempts | int | |
intervalInSeconds | int | |
Результат | bool |
public IsConfirmed ( string userName ) : bool | ||
userName | string | |
Результат | bool |
public IsCurrentUser ( string userName ) : bool | ||
userName | string | |
Результат | bool |
public Login ( string userName, string password, bool persistCookie = false ) : bool | ||
userName | string | |
password | string | |
persistCookie | bool | |
Результат | bool |
public RequireAuthenticatedUser ( ) : void | ||
Результат | void |
public RequireUser ( string userName ) : void | ||
userName | string | |
Результат | void |
public ResetPassword ( string passwordResetToken, string newPassword ) : bool | ||
passwordResetToken | string | |
newPassword | string | |
Результат | bool |
public UserExists ( string userName ) : bool | ||
userName | string | |
Результат | bool |