C# 클래스 SSLGhost.Providers.MyMembershipProvider

상속: System.Web.Security.MembershipProvider
파일 보기 프로젝트 열기: primaryobjects/SSL-Ghost

공개 메소드들

메소드 설명
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