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

Inheritance: IPrincipal, IIdentity, IComparable
Datei anzeigen Open project: bamboo/Bamboo.Prevalence Class Usage Examples

Public Methods

Method 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

Method Description
ComputeHash ( string text ) : byte[]
Equals ( byte lhs, byte rhs ) : bool

Method Details

CheckPassword() public method

public CheckPassword ( string password ) : bool
password string
return bool

CompareTo() public method

public CompareTo ( object obj ) : int
obj object
return int

IsInRole() public method

public IsInRole ( string roleName ) : bool
roleName string
return bool

SetPassword() public method

public SetPassword ( string password ) : void
password string
return void

ToString() public method

public ToString ( ) : string
return string

User() public method

public User ( string email ) : System
email string
return System

User() public method

public User ( string email, string fullname ) : System
email string
fullname string
return System

User() public method

public User ( string email, string fullname, string password ) : System
email string
fullname string
password string
return System