C# Class CodeFirstAltairis.Models.AccountMembershipService

Inheritance: IMembershipService
Mostra file Open project: turnkey-commerce/CodeFirstAltairis

Public Methods

Method Description
AccountMembershipService ( ) : System
AccountMembershipService ( MembershipProvider provider ) : System
ChangePassword ( string userName, string oldPassword, string newPassword ) : bool
CreateUser ( string userName, string password, string email ) : MembershipCreateStatus
ValidateUser ( string userName, string password ) : bool

Method Details

AccountMembershipService() public method

public AccountMembershipService ( ) : System
return System

AccountMembershipService() public method

public AccountMembershipService ( MembershipProvider provider ) : System
provider System.Web.Security.MembershipProvider
return System

ChangePassword() public method

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

CreateUser() public method

public CreateUser ( string userName, string password, string email ) : MembershipCreateStatus
userName string
password string
email string
return MembershipCreateStatus

ValidateUser() public method

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