Свойство | Тип | Описание | |
---|---|---|---|
GetMembershipUser | System.Web.Security.MembershipUser |
Метод | Описание | |
---|---|---|
ChangePassword ( string username, string oldPassword, string newPassword ) : bool | ||
ChangePasswordQuestionAndAnswer ( string username, string password, string newPasswordQuestion, string newPasswordAnswer ) : bool | ||
CreateUser ( string username, string password, string email, string passwordQuestion, string passwordAnswer, bool isApproved, object providerUserKey, MembershipCreateStatus &status ) : System.Web.Security.MembershipUser | ||
DeleteUser ( string username, bool deleteAllRelatedData ) : bool | ||
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 | ||
GetAllUsers ( int pageIndex, int pageSize, int &totalRecords ) : System.Web.Security.MembershipUserCollection |
Gets all users.
|
|
GetNumberOfUsersOnline ( ) : int | ||
GetPassword ( string username, string answer ) : string | ||
GetUser ( object providerUserKey, bool userIsOnline ) : System.Web.Security.MembershipUser | ||
GetUser ( string username, bool userIsOnline ) : System.Web.Security.MembershipUser | ||
GetUserNameByEmail ( string email ) : string | ||
Initialize ( string name, System config ) : void | ||
ResetPassword ( string username, string answer ) : string | ||
SenseNetMembershipProvider ( ) : System | ||
UnlockUser ( string userName ) : bool | ||
UpdateUser ( System.Web.Security.MembershipUser user ) : void | ||
ValidateUser ( string username, string password ) : bool |
Метод | Описание | |
---|---|---|
GetMembershipUser ( User portalUser ) : System.Web.Security.MembershipUser |
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 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 DeleteUser ( string username, bool deleteAllRelatedData ) : bool | ||
username | string | |
deleteAllRelatedData | bool | |
Результат | bool |
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 GetAllUsers ( int pageIndex, int pageSize, int &totalRecords ) : System.Web.Security.MembershipUserCollection | ||
pageIndex | int | Index of the page. (currently ignored) |
pageSize | int | Size of the page. (currently ignored) |
totalRecords | int | The total records. |
Результат | System.Web.Security.MembershipUserCollection |
public GetPassword ( string username, string answer ) : string | ||
username | string | |
answer | string | |
Результат | string |
public GetUser ( object providerUserKey, bool userIsOnline ) : System.Web.Security.MembershipUser | ||
providerUserKey | object | |
userIsOnline | bool | |
Результат | System.Web.Security.MembershipUser |
public GetUser ( string username, bool userIsOnline ) : System.Web.Security.MembershipUser | ||
username | string | |
userIsOnline | bool | |
Результат | System.Web.Security.MembershipUser |
public GetUserNameByEmail ( string email ) : string | ||
string | ||
Результат | string |
public Initialize ( string name, System config ) : void | ||
name | string | |
config | System | |
Результат | void |
public ResetPassword ( string username, string answer ) : string | ||
username | string | |
answer | string | |
Результат | string |
public SenseNetMembershipProvider ( ) : System | ||
Результат | System |
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 |