C# 클래스 Worki.Memberships.AccountMembershipService

상속: IMembershipService
파일 보기 프로젝트 열기: tah91/eworkyWebSite

공개 메소드들

메소드 설명
AccountMembershipService ( ) : System
AccountMembershipService ( MembershipProvider provider ) : System
ActivateMember ( string username, string key ) : bool
ChangePassword ( string userName, string oldPassword, string newPassword ) : bool
CreateUser ( string userName, string password, string email, bool forceActivation = false ) : MembershipCreateStatus
DeleteUser ( string userName ) : bool
GetAdminMapping ( IEnumerable members ) : IEnumerable
GetAllUsers ( int pageValue, int PageSize, int &itemTotal ) : System.Web.Security.MembershipUserCollection
GetAuthData ( string username ) : AuthJson
GetPassword ( string username, string answer ) : string
GetUser ( string username ) : System.Web.Security.MembershipUser
GetUserByMail ( string email ) : string
ResetPassword ( string email ) : bool
TryCreateAccount ( string email, MemberMainData memberData, int &memberId, bool forceActivation = true ) : bool

Try to create an account for the given mail and data, already activated if account aleady exists, do nothing

TryCreateAccount ( string email, string password, MemberMainData memberData, int &memberId, bool forceActivation = true ) : bool

Try to create an account for the given mail and data, already activated if account aleady exists, do nothing

UnlockMember ( string username ) : bool
ValidateUser ( string userName, string password ) : bool

비공개 메소드들

메소드 설명
TryCreateAccount ( string email, string password, bool dummyPassword, MemberMainData memberData, int &memberId, bool forceActivation ) : bool

Try to create an account for the given mail and data, already activated if account aleady exists, do nothing

메소드 상세

AccountMembershipService() 공개 메소드

public AccountMembershipService ( ) : System
리턴 System

AccountMembershipService() 공개 메소드

public AccountMembershipService ( MembershipProvider provider ) : System
provider System.Web.Security.MembershipProvider
리턴 System

ActivateMember() 공개 메소드

public ActivateMember ( string username, string key ) : bool
username string
key string
리턴 bool

ChangePassword() 공개 메소드

public ChangePassword ( string userName, string oldPassword, string newPassword ) : bool
userName string
oldPassword string
newPassword string
리턴 bool

CreateUser() 공개 메소드

public CreateUser ( string userName, string password, string email, bool forceActivation = false ) : MembershipCreateStatus
userName string
password string
email string
forceActivation bool
리턴 MembershipCreateStatus

DeleteUser() 공개 메소드

public DeleteUser ( string userName ) : bool
userName string
리턴 bool

GetAdminMapping() 공개 메소드

public GetAdminMapping ( IEnumerable members ) : IEnumerable
members IEnumerable
리턴 IEnumerable

GetAllUsers() 공개 메소드

public GetAllUsers ( int pageValue, int PageSize, int &itemTotal ) : System.Web.Security.MembershipUserCollection
pageValue int
PageSize int
itemTotal int
리턴 System.Web.Security.MembershipUserCollection

GetAuthData() 공개 메소드

public GetAuthData ( string username ) : AuthJson
username string
리턴 AuthJson

GetPassword() 공개 메소드

public GetPassword ( string username, string answer ) : string
username string
answer string
리턴 string

GetUser() 공개 메소드

public GetUser ( string username ) : System.Web.Security.MembershipUser
username string
리턴 System.Web.Security.MembershipUser

GetUserByMail() 공개 메소드

public GetUserByMail ( string email ) : string
email string
리턴 string

ResetPassword() 공개 메소드

public ResetPassword ( string email ) : bool
email string
리턴 bool

TryCreateAccount() 공개 메소드

Try to create an account for the given mail and data, already activated if account aleady exists, do nothing
public TryCreateAccount ( string email, MemberMainData memberData, int &memberId, bool forceActivation = true ) : bool
email string email of the account to create
memberData Worki.Data.Models.MemberMainData member data of the account
memberId int filled by the fectched account
forceActivation bool
리턴 bool

TryCreateAccount() 공개 메소드

Try to create an account for the given mail and data, already activated if account aleady exists, do nothing
public TryCreateAccount ( string email, string password, MemberMainData memberData, int &memberId, bool forceActivation = true ) : bool
email string email of the account to create
password string account password
memberData Worki.Data.Models.MemberMainData member data of the account
memberId int filled by the fectched account
forceActivation bool
리턴 bool

UnlockMember() 공개 메소드

public UnlockMember ( string username ) : bool
username string
리턴 bool

ValidateUser() 공개 메소드

public ValidateUser ( string userName, string password ) : bool
userName string
password string
리턴 bool