C# Class Agribusiness.Web.Models.AccountMembershipService

Inheritance: IMembershipService
Datei anzeigen Open project: ucdavis/Agribusiness Class Usage Examples

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
IsValidUser ( string userName ) : bool
ResetPassword ( string userName, string email = null ) : bool
ResetPasswordNoEmail ( string userName ) : string
UnlockUserNoEmail ( string userName ) : bool
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

IsValidUser() public method

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

ResetPassword() public method

public ResetPassword ( string userName, string email = null ) : bool
userName string
email string
return bool

ResetPasswordNoEmail() public method

public ResetPasswordNoEmail ( string userName ) : string
userName string
return string

UnlockUserNoEmail() public method

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

ValidateUser() public method

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