C# Class FixtureDataProvider.FakeMembershipProvider

Inheritance: System.Web.Security.MembershipProvider
Afficher le fichier Open project: hermanussen/Sitecore-FixtureDataProvider

Méthodes publiques

Méthode Description
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 ) : MembershipUser
DeleteUser ( string username, bool deleteAllRelatedData ) : bool
FindUsersByEmail ( string emailToMatch, int pageIndex, int pageSize, int &totalRecords ) : MembershipUserCollection
FindUsersByName ( string usernameToMatch, int pageIndex, int pageSize, int &totalRecords ) : MembershipUserCollection
GetAllUsers ( int pageIndex, int pageSize, int &totalRecords ) : MembershipUserCollection
GetNumberOfUsersOnline ( ) : int
GetPassword ( string username, string answer ) : string
GetUser ( object providerUserKey, bool userIsOnline ) : MembershipUser
GetUser ( string username, bool userIsOnline ) : MembershipUser
GetUserNameByEmail ( string email ) : string
ResetPassword ( string username, string answer ) : string
UnlockUser ( string userName ) : bool
UpdateUser ( MembershipUser user ) : void
ValidateUser ( string username, string password ) : bool

Method Details

ChangePassword() public méthode

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

ChangePasswordQuestionAndAnswer() public méthode

public ChangePasswordQuestionAndAnswer ( string username, string password, string newPasswordQuestion, string newPasswordAnswer ) : bool
username 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 ) : MembershipUser
username string
password string
email string
passwordQuestion string
passwordAnswer string
isApproved bool
providerUserKey object
status MembershipCreateStatus
Résultat MembershipUser

DeleteUser() public méthode

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

FindUsersByEmail() public méthode

public FindUsersByEmail ( string emailToMatch, int pageIndex, int pageSize, int &totalRecords ) : MembershipUserCollection
emailToMatch string
pageIndex int
pageSize int
totalRecords int
Résultat MembershipUserCollection

FindUsersByName() public méthode

public FindUsersByName ( string usernameToMatch, int pageIndex, int pageSize, int &totalRecords ) : MembershipUserCollection
usernameToMatch string
pageIndex int
pageSize int
totalRecords int
Résultat MembershipUserCollection

GetAllUsers() public méthode

public GetAllUsers ( int pageIndex, int pageSize, int &totalRecords ) : MembershipUserCollection
pageIndex int
pageSize int
totalRecords int
Résultat MembershipUserCollection

GetNumberOfUsersOnline() public méthode

public GetNumberOfUsersOnline ( ) : int
Résultat int

GetPassword() public méthode

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

GetUser() public méthode

public GetUser ( object providerUserKey, bool userIsOnline ) : MembershipUser
providerUserKey object
userIsOnline bool
Résultat MembershipUser

GetUser() public méthode

public GetUser ( string username, bool userIsOnline ) : MembershipUser
username string
userIsOnline bool
Résultat MembershipUser

GetUserNameByEmail() public méthode

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

ResetPassword() public méthode

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

UnlockUser() public méthode

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

UpdateUser() public méthode

public UpdateUser ( MembershipUser user ) : void
user MembershipUser
Résultat void

ValidateUser() public méthode

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