Method | Description | |
---|---|---|
ChangePassword ( string userName, string currentPassword, string newPassword ) : 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 = 1440 ) : string | ||
GetUserId ( string userName ) : int | ||
Login ( string userName, string password, bool persistCookie = false ) : bool | ||
Logout ( ) : void | ||
ResetPassword ( string passwordResetToken, string newPassword ) : bool |
public ChangePassword ( string userName, string currentPassword, string newPassword ) : bool | ||
userName | string | |
currentPassword | string | |
newPassword | string | |
return | bool |
public CreateAccount ( string userName, string password, bool requireConfirmationToken = false ) : string | ||
userName | string | |
password | string | |
requireConfirmationToken | bool | |
return | string |
public CreateUserAndAccount ( string userName, string password, object propertyValues = null, bool requireConfirmationToken = false ) : string | ||
userName | string | |
password | string | |
propertyValues | object | |
requireConfirmationToken | bool | |
return | string |
public GeneratePasswordResetToken ( string userName, int tokenExpirationInMinutesFromNow = 1440 ) : string | ||
userName | string | |
tokenExpirationInMinutesFromNow | int | |
return | string |
public Login ( string userName, string password, bool persistCookie = false ) : bool | ||
userName | string | |
password | string | |
persistCookie | bool | |
return | bool |
public ResetPassword ( string passwordResetToken, string newPassword ) : bool | ||
passwordResetToken | string | |
newPassword | string | |
return | bool |