C# Class Bamboo.Prevalence.Examples.UserLogin.User

Inheritance: IPrincipal, IIdentity, IComparable
Afficher le fichier Open project: bamboo/Bamboo.Prevalence Class Usage Examples

Méthodes publiques

Méthode Description
CheckPassword ( string password ) : bool
CompareTo ( object obj ) : int
IsInRole ( string roleName ) : bool
SetPassword ( string password ) : void
ToString ( ) : string
User ( string email ) : System
User ( string email, string fullname ) : System
User ( string email, string fullname, string password ) : System

Private Methods

Méthode Description
ComputeHash ( string text ) : byte[]
Equals ( byte lhs, byte rhs ) : bool

Method Details

CheckPassword() public méthode

public CheckPassword ( string password ) : bool
password string
Résultat bool

CompareTo() public méthode

public CompareTo ( object obj ) : int
obj object
Résultat int

IsInRole() public méthode

public IsInRole ( string roleName ) : bool
roleName string
Résultat bool

SetPassword() public méthode

public SetPassword ( string password ) : void
password string
Résultat void

ToString() public méthode

public ToString ( ) : string
Résultat string

User() public méthode

public User ( string email ) : System
email string
Résultat System

User() public méthode

public User ( string email, string fullname ) : System
email string
fullname string
Résultat System

User() public méthode

public User ( string email, string fullname, string password ) : System
email string
fullname string
password string
Résultat System