C# Class EventServer.Infrastructure.Providers.AppMembershipProvider

Inheritance: System.Web.Security.MembershipProvider
Afficher le fichier Open project: roundtable/EventServer

Méthodes publiques

Méthode Description
ChangePassword ( string email, string oldPassword, string newPassword ) : bool
ChangePasswordQuestionAndAnswer ( string email, 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 email, bool deleteAllRelatedData ) : bool
FindUsers ( string usernameToMatch, string emailToMatch, int pageIndex, int pageSize, int &totalRecords ) : System.Web.Security.MembershipUserCollection
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 email, string answer ) : string
GetUser ( object providerUserKey, bool userIsOnline ) : System.Web.Security.MembershipUser
GetUser ( string email, bool userIsOnline ) : System.Web.Security.MembershipUser
GetUserNameByEmail ( string email ) : string
ResetPassword ( string email, string answer ) : string
UnlockUser ( string email ) : bool
UpdateUser ( System.Web.Security.MembershipUser user ) : void
ValidateUser ( string email, string password ) : bool

Private Methods

Méthode Description
GetUsers ( ) : EventServer.Core.Domain.UserProfile[]
Map ( UserProfile user ) : System.Web.Security.MembershipUser

Method Details

ChangePassword() public méthode

public ChangePassword ( string email, string oldPassword, string newPassword ) : bool
email string
oldPassword string
newPassword string
Résultat bool

ChangePasswordQuestionAndAnswer() public méthode

public ChangePasswordQuestionAndAnswer ( string email, string password, string newPasswordQuestion, string newPasswordAnswer ) : bool
email string
password string
newPasswordQuestion string
newPasswordAnswer string
Résultat bool

CreateUser() public méthode

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
Résultat System.Web.Security.MembershipUser

DeleteUser() public méthode

public DeleteUser ( string email, bool deleteAllRelatedData ) : bool
email string
deleteAllRelatedData bool
Résultat bool

FindUsers() public méthode

public FindUsers ( string usernameToMatch, string emailToMatch, int pageIndex, int pageSize, int &totalRecords ) : System.Web.Security.MembershipUserCollection
usernameToMatch string
emailToMatch string
pageIndex int
pageSize int
totalRecords int
Résultat System.Web.Security.MembershipUserCollection

FindUsersByEmail() public méthode

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

FindUsersByName() public méthode

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

GetAllUsers() public méthode

public GetAllUsers ( int pageIndex, int pageSize, int &totalRecords ) : System.Web.Security.MembershipUserCollection
pageIndex int
pageSize int
totalRecords int
Résultat System.Web.Security.MembershipUserCollection

GetNumberOfUsersOnline() public méthode

public GetNumberOfUsersOnline ( ) : int
Résultat int

GetPassword() public méthode

public GetPassword ( string email, string answer ) : string
email string
answer string
Résultat string

GetUser() public méthode

public GetUser ( object providerUserKey, bool userIsOnline ) : System.Web.Security.MembershipUser
providerUserKey object
userIsOnline bool
Résultat System.Web.Security.MembershipUser

GetUser() public méthode

public GetUser ( string email, bool userIsOnline ) : System.Web.Security.MembershipUser
email string
userIsOnline bool
Résultat System.Web.Security.MembershipUser

GetUserNameByEmail() public méthode

public GetUserNameByEmail ( string email ) : string
email string
Résultat string

ResetPassword() public méthode

public ResetPassword ( string email, string answer ) : string
email string
answer string
Résultat string

UnlockUser() public méthode

public UnlockUser ( string email ) : bool
email string
Résultat bool

UpdateUser() public méthode

public UpdateUser ( System.Web.Security.MembershipUser user ) : void
user System.Web.Security.MembershipUser
Résultat void

ValidateUser() public méthode

public ValidateUser ( string email, string password ) : bool
email string
password string
Résultat bool