C# Класс SSLGhost.Providers.MyMembershipProvider

Наследование: System.Web.Security.MembershipProvider
Показать файл Открыть проект

Открытые методы

Метод Описание
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
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

Retrieves the user details for a particular user.

GetUserNameByEmail ( string email ) : string
ResetPassword ( string username, string answer ) : string
UnlockUser ( string userName ) : bool
UpdateUser ( System.Web.Security.MembershipUser user ) : void
ValidateUser ( string username, string password ) : bool

Authenticates the user.

Описание методов

ChangePassword() публичный Метод

public ChangePassword ( string username, string oldPassword, string newPassword ) : bool
username string
oldPassword string
newPassword string
Результат bool

ChangePasswordQuestionAndAnswer() публичный Метод

public ChangePasswordQuestionAndAnswer ( string username, string password, string newPasswordQuestion, string newPasswordAnswer ) : bool
username string
password string
newPasswordQuestion string
newPasswordAnswer string
Результат bool

CreateUser() публичный Метод

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
email string
passwordQuestion string
passwordAnswer string
isApproved bool
providerUserKey object
status MembershipCreateStatus
Результат System.Web.Security.MembershipUser

DeleteUser() публичный Метод

public DeleteUser ( string username, bool deleteAllRelatedData ) : bool
username string
deleteAllRelatedData bool
Результат bool

FindUsersByEmail() публичный Метод

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

FindUsersByName() публичный Метод

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

GetAllUsers() публичный Метод

public GetAllUsers ( int pageIndex, int pageSize, int &totalRecords ) : System.Web.Security.MembershipUserCollection
pageIndex int
pageSize int
totalRecords int
Результат System.Web.Security.MembershipUserCollection

GetNumberOfUsersOnline() публичный Метод

public GetNumberOfUsersOnline ( ) : int
Результат int

GetPassword() публичный Метод

public GetPassword ( string username, string answer ) : string
username string
answer string
Результат string

GetUser() публичный Метод

public GetUser ( object providerUserKey, bool userIsOnline ) : System.Web.Security.MembershipUser
providerUserKey object
userIsOnline bool
Результат System.Web.Security.MembershipUser

GetUser() публичный Метод

Retrieves the user details for a particular user.
public GetUser ( string username, bool userIsOnline ) : System.Web.Security.MembershipUser
username string User to retrieve user details for
userIsOnline bool
Результат System.Web.Security.MembershipUser

GetUserNameByEmail() публичный Метод

public GetUserNameByEmail ( string email ) : string
email string
Результат string

ResetPassword() публичный Метод

public ResetPassword ( string username, string answer ) : string
username string
answer string
Результат string

UnlockUser() публичный Метод

public UnlockUser ( string userName ) : bool
userName string
Результат bool

UpdateUser() публичный Метод

public UpdateUser ( System.Web.Security.MembershipUser user ) : void
user System.Web.Security.MembershipUser
Результат void

ValidateUser() публичный Метод

Authenticates the user.
public ValidateUser ( string username, string password ) : bool
username string Username, for testing use: testuser
password string Password, for testing use: password
Результат bool