C# Class ICCMembership, IowaCodeCamp

Summary description for ICCMembership
Inheritance: MembershipProvider
Datei anzeigen Open project: IowaCodeCamp/IowaCodeCamp

Public Methods

Method 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 method

public ChangePassword ( string username, string oldPassword, string newPassword ) : bool
username string
oldPassword string
newPassword string
return bool

ChangePasswordQuestionAndAnswer() public method

public ChangePasswordQuestionAndAnswer ( string username, string password, string newPasswordQuestion, string newPasswordAnswer ) : bool
username string
password string
newPasswordQuestion string
newPasswordAnswer string
return bool

CreateUser() public method

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,
return MembershipUser

DeleteUser() public method

public DeleteUser ( string username, bool deleteAllRelatedData ) : bool
username string
deleteAllRelatedData bool
return bool

FindUsersByEmail() public method

public FindUsersByEmail ( string emailToMatch, int pageIndex, int pageSize, int &totalRecords ) : MembershipUserCollection
emailToMatch string
pageIndex int
pageSize int
totalRecords int
return MembershipUserCollection

FindUsersByName() public method

public FindUsersByName ( string usernameToMatch, int pageIndex, int pageSize, int &totalRecords ) : MembershipUserCollection
usernameToMatch string
pageIndex int
pageSize int
totalRecords int
return MembershipUserCollection

GetAllUsers() public method

public GetAllUsers ( int pageIndex, int pageSize, int &totalRecords ) : MembershipUserCollection
pageIndex int
pageSize int
totalRecords int
return MembershipUserCollection

GetNumberOfUsersOnline() public method

public GetNumberOfUsersOnline ( ) : int
return int

GetPassword() public method

public GetPassword ( string username, string answer ) : string
username string
answer string
return string

GetUser() public method

public GetUser ( object providerUserKey, bool userIsOnline ) : MembershipUser
providerUserKey object
userIsOnline bool
return MembershipUser

GetUser() public method

public GetUser ( string username, bool userIsOnline ) : MembershipUser
username string
userIsOnline bool
return MembershipUser

GetUserNameByEmail() public method

public GetUserNameByEmail ( string email ) : string
email string
return string

ResetPassword() public method

public ResetPassword ( string username, string answer ) : string
username string
answer string
return string

UnlockUser() public method

public UnlockUser ( string userName ) : bool
userName string
return bool

UpdateUser() public method

public UpdateUser ( MembershipUser user ) : void
user MembershipUser
return void

ValidateUser() public method

public ValidateUser ( string username, string password ) : bool
username string
password string
return bool