C# Class Mictlanix.BE.Web.Security.CustomPrincipal

Inheritance: IPrincipal
Afficher le fichier Open project: mictlanix/mbe Class Usage Examples

Méthodes publiques

Méthode Description
CustomPrincipal ( string username, string email, bool administrator, Employee employee, IList privileges ) : System
IsInRole ( string role ) : bool
ToString ( ) : string

Method Details

CustomPrincipal() public méthode

public CustomPrincipal ( string username, string email, bool administrator, Employee employee, IList privileges ) : System
username string
email string
administrator bool
employee Employee
privileges IList
Résultat System

IsInRole() public méthode

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

ToString() public méthode

public ToString ( ) : string
Résultat string