C# Class Attacker.Controllers.AccountMembershipService

Inheritance: IMembershipService
Afficher le fichier Open project: jeffreypalermo/mvc2inaction

Méthodes publiques

Méthode 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 méthode

public AccountMembershipService ( ) : System
Résultat System

AccountMembershipService() public méthode

public AccountMembershipService ( MembershipProvider provider ) : System
provider System.Web.Security.MembershipProvider
Résultat System

ChangePassword() public méthode

public ChangePassword ( string userName, string oldPassword, string newPassword ) : bool
userName string
oldPassword string
newPassword string
Résultat bool

CreateUser() public méthode

public CreateUser ( string userName, string password, string email ) : MembershipCreateStatus
userName string
password string
email string
Résultat MembershipCreateStatus

ValidateUser() public méthode

public ValidateUser ( string userName, string password ) : bool
userName string
password string
Résultat bool