Метод | Описание | |
---|---|---|
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 | ||
CreateAccount ( string userName, string password, string email, string firstname, string lastname, string timezone, string culture, 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 ( System.Web.Security.MembershipUser user ) : void | ||
ValidateUser ( string username, string password ) : bool |
Метод | Описание | |
---|---|---|
CreateArgumentNullOrEmptyException ( string paramName ) : |
public ChangePassword ( string userName, string oldPassword, string newPassword ) : bool | ||
userName | string | |
oldPassword | string | |
newPassword | string | |
Результат | bool |
public ChangePasswordQuestionAndAnswer ( string username, string password, string newPasswordQuestion, string newPasswordAnswer ) : bool | ||
username | string | |
password | string | |
newPasswordQuestion | string | |
newPasswordAnswer | string | |
Результат | bool |
public ConfirmAccount ( string accountConfirmationToken ) : bool | ||
accountConfirmationToken | string | |
Результат | bool |
public CreateAccount ( string userName, string password, string email, bool requireConfirmationToken ) : string | ||
userName | string | |
password | string | |
string | ||
requireConfirmationToken | bool | |
Результат | string |
public CreateAccount ( string userName, string password, string email, string firstname, string lastname, string timezone, string culture, bool requireConfirmationToken ) : string | ||
userName | string | |
password | string | |
string | ||
firstname | string | |
lastname | string | |
timezone | string | |
culture | string | |
requireConfirmationToken | bool | |
Результат | 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 | |
Результат | System.Web.Security.MembershipUser |
public DeleteAccount ( string userName ) : bool | ||
userName | string | |
Результат | bool |
public DeleteUser ( string username, bool deleteAllRelatedData ) : bool | ||
username | string | |
deleteAllRelatedData | bool | |
Результат | bool |
public ExtendedValidateUser ( string userNameOrEmail, string password ) : string | ||
userNameOrEmail | string | |
password | string | |
Результат | string |
public FindUsersByEmail ( string emailToMatch, int pageIndex, int pageSize, int &totalRecords ) : System.Web.Security.MembershipUserCollection | ||
emailToMatch | string | |
pageIndex | int | |
pageSize | int | |
totalRecords | int | |
Результат | 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 | |
Результат | System.Web.Security.MembershipUserCollection |
public GeneratePasswordResetToken ( string userName, int tokenExpirationInMinutesFromNow ) : string | ||
userName | string | |
tokenExpirationInMinutesFromNow | int | |
Результат | string |
public GetAllUsers ( int pageIndex, int pageSize, int &totalRecords ) : System.Web.Security.MembershipUserCollection | ||
pageIndex | int | |
pageSize | int | |
totalRecords | int | |
Результат | System.Web.Security.MembershipUserCollection |
public GetCreateDate ( string userName ) : System.DateTime | ||
userName | string | |
Результат | System.DateTime |
public GetLastPasswordFailureDate ( string userName ) : System.DateTime | ||
userName | string | |
Результат | System.DateTime |
public GetPassword ( string username, string answer ) : string | ||
username | string | |
answer | string | |
Результат | string |
public GetPasswordChangedDate ( string userName ) : System.DateTime | ||
userName | string | |
Результат | System.DateTime |
public GetPasswordFailuresSinceLastSuccess ( string userName ) : int | ||
userName | string | |
Результат | int |
public GetUser ( string userName, bool userIsOnline ) : System.Web.Security.MembershipUser | ||
userName | string | |
userIsOnline | bool | |
Результат | System.Web.Security.MembershipUser |
public GetUser ( object providerUserKey, bool userIsOnline ) : System.Web.Security.MembershipUser | ||
providerUserKey | object | |
userIsOnline | bool | |
Результат | System.Web.Security.MembershipUser |
public GetUserIdFromPasswordResetToken ( string token ) : System.Guid | ||
token | string | |
Результат | System.Guid |
public GetUserNameByEmail ( string email ) : string | ||
string | ||
Результат | string |
public Initialize ( string name, System config ) : void | ||
name | string | |
config | System | |
Результат | void |
public IsConfirmed ( string userName ) : bool | ||
userName | string | |
Результат | bool |
public ResetPassword ( string username, string answer ) : string | ||
username | string | |
answer | string | |
Результат | string |
public ResetPasswordWithToken ( string token, string newPassword ) : bool | ||
token | string | |
newPassword | string | |
Результат | bool |
public UnlockUser ( string userName ) : bool | ||
userName | string | |
Результат | bool |
public UpdateUser ( System.Web.Security.MembershipUser user ) : void | ||
user | System.Web.Security.MembershipUser | |
Результат | void |
public ValidateUser ( string username, string password ) : bool | ||
username | string | |
password | string | |
Результат | bool |