Méthode | Description | |
---|---|---|
ChangePassword ( string userName, string oldPassword, string newPassword ) : bool | ||
ChangePasswordQuestionAndAnswer ( string username, string password, string newPasswordQuestion, string newPasswordAnswer ) : bool | ||
ConfirmAccount ( string accountConfirmationToken ) : bool | ||
CreateAccount ( string userName, string password, string email, bool requireConfirmationToken ) : string | ||
CreateUser ( string username, string password, string email, string passwordQuestion, string passwordAnswer, bool isApproved, object providerUserKey, MembershipCreateStatus &status ) : System.Web.Security.MembershipUser | ||
DeleteAccount ( string userName ) : bool | ||
DeleteUser ( string username, bool deleteAllRelatedData ) : bool | ||
ExtendedValidateUser ( string userNameOrEmail, string password ) : string | ||
FindUsersByEmail ( string emailToMatch, int pageIndex, int pageSize, int &totalRecords ) : System.Web.Security.MembershipUserCollection | ||
FindUsersByName ( string usernameToMatch, int pageIndex, int pageSize, int &totalRecords ) : System.Web.Security.MembershipUserCollection | ||
GeneratePasswordResetToken ( string userName, int tokenExpirationInMinutesFromNow ) : string | ||
GetAllUsers ( int pageIndex, int pageSize, int &totalRecords ) : System.Web.Security.MembershipUserCollection | ||
GetCreateDate ( string userName ) : System.DateTime | ||
GetLastPasswordFailureDate ( string userName ) : System.DateTime | ||
GetNumberOfUsersOnline ( ) : int | ||
GetPassword ( string username, string answer ) : string | ||
GetPasswordChangedDate ( string userName ) : System.DateTime | ||
GetPasswordFailuresSinceLastSuccess ( string userName ) : int | ||
GetUser ( string userName, bool userIsOnline ) : System.Web.Security.MembershipUser | ||
GetUser ( object providerUserKey, bool userIsOnline ) : System.Web.Security.MembershipUser | ||
GetUserIdFromPasswordResetToken ( string token ) : System.Guid | ||
GetUserNameByEmail ( string email ) : string | ||
Initialize ( string name, System config ) : void | ||
IsConfirmed ( string userName ) : bool | ||
ResetPassword ( string username, string answer ) : string | ||
ResetPasswordWithToken ( string token, string newPassword ) : bool | ||
UnlockUser ( string userName ) : bool | ||
UpdateUser ( MembershipUser user ) : void | ||
ValidateUser ( string username, string password ) : bool |
Méthode | Description | |
---|---|---|
CreateArgumentNullOrEmptyException ( string paramName ) : |
public ChangePassword ( string userName, string oldPassword, string newPassword ) : bool | ||
userName | string | |
oldPassword | string | |
newPassword | string | |
Résultat | bool |
public ChangePasswordQuestionAndAnswer ( string username, string password, string newPasswordQuestion, string newPasswordAnswer ) : bool | ||
username | string | |
password | string | |
newPasswordQuestion | string | |
newPasswordAnswer | string | |
Résultat | bool |
public ConfirmAccount ( string accountConfirmationToken ) : bool | ||
accountConfirmationToken | string | |
Résultat | bool |
public CreateAccount ( string userName, string password, string email, bool requireConfirmationToken ) : string | ||
userName | string | |
password | string | |
string | ||
requireConfirmationToken | bool | |
Résultat | string |
public CreateUser ( string username, string password, string email, string passwordQuestion, string passwordAnswer, bool isApproved, object providerUserKey, MembershipCreateStatus &status ) : System.Web.Security.MembershipUser | ||
username | string | |
password | string | |
string | ||
passwordQuestion | string | |
passwordAnswer | string | |
isApproved | bool | |
providerUserKey | object | |
status | MembershipCreateStatus | |
Résultat | System.Web.Security.MembershipUser |
public DeleteAccount ( string userName ) : bool | ||
userName | string | |
Résultat | bool |
public DeleteUser ( string username, bool deleteAllRelatedData ) : bool | ||
username | string | |
deleteAllRelatedData | bool | |
Résultat | bool |
public ExtendedValidateUser ( string userNameOrEmail, string password ) : string | ||
userNameOrEmail | string | |
password | string | |
Résultat | string |
public FindUsersByEmail ( string emailToMatch, int pageIndex, int pageSize, int &totalRecords ) : System.Web.Security.MembershipUserCollection | ||
emailToMatch | string | |
pageIndex | int | |
pageSize | int | |
totalRecords | int | |
Résultat | System.Web.Security.MembershipUserCollection |
public FindUsersByName ( string usernameToMatch, int pageIndex, int pageSize, int &totalRecords ) : System.Web.Security.MembershipUserCollection | ||
usernameToMatch | string | |
pageIndex | int | |
pageSize | int | |
totalRecords | int | |
Résultat | System.Web.Security.MembershipUserCollection |
public GeneratePasswordResetToken ( string userName, int tokenExpirationInMinutesFromNow ) : string | ||
userName | string | |
tokenExpirationInMinutesFromNow | int | |
Résultat | string |
public GetAllUsers ( int pageIndex, int pageSize, int &totalRecords ) : System.Web.Security.MembershipUserCollection | ||
pageIndex | int | |
pageSize | int | |
totalRecords | int | |
Résultat | System.Web.Security.MembershipUserCollection |
public GetCreateDate ( string userName ) : System.DateTime | ||
userName | string | |
Résultat | System.DateTime |
public GetLastPasswordFailureDate ( string userName ) : System.DateTime | ||
userName | string | |
Résultat | System.DateTime |
public GetPassword ( string username, string answer ) : string | ||
username | string | |
answer | string | |
Résultat | string |
public GetPasswordChangedDate ( string userName ) : System.DateTime | ||
userName | string | |
Résultat | System.DateTime |
public GetPasswordFailuresSinceLastSuccess ( string userName ) : int | ||
userName | string | |
Résultat | int |
public GetUser ( string userName, bool userIsOnline ) : System.Web.Security.MembershipUser | ||
userName | string | |
userIsOnline | bool | |
Résultat | System.Web.Security.MembershipUser |
public GetUser ( object providerUserKey, bool userIsOnline ) : System.Web.Security.MembershipUser | ||
providerUserKey | object | |
userIsOnline | bool | |
Résultat | System.Web.Security.MembershipUser |
public GetUserIdFromPasswordResetToken ( string token ) : System.Guid | ||
token | string | |
Résultat | System.Guid |
public GetUserNameByEmail ( string email ) : string | ||
string | ||
Résultat | string |
public Initialize ( string name, System config ) : void | ||
name | string | |
config | System | |
Résultat | void |
public IsConfirmed ( string userName ) : bool | ||
userName | string | |
Résultat | bool |
public ResetPassword ( string username, string answer ) : string | ||
username | string | |
answer | string | |
Résultat | string |
public ResetPasswordWithToken ( string token, string newPassword ) : bool | ||
token | string | |
newPassword | string | |
Résultat | bool |
public UnlockUser ( string userName ) : bool | ||
userName | string | |
Résultat | bool |
public UpdateUser ( MembershipUser user ) : void | ||
user | MembershipUser | |
Résultat | void |
public ValidateUser ( string username, string password ) : bool | ||
username | string | |
password | string | |
Résultat | bool |