C# 클래스 Mictlanix.BE.Web.Security.CustomPrincipal

상속: IPrincipal
파일 보기 프로젝트 열기: mictlanix/mbe 1 사용 예제들

공개 메소드들

메소드 설명
CustomPrincipal ( string username, string email, bool administrator, Employee employee, IList privileges ) : System
IsInRole ( string role ) : bool
ToString ( ) : string

메소드 상세

CustomPrincipal() 공개 메소드

public CustomPrincipal ( string username, string email, bool administrator, Employee employee, IList privileges ) : System
username string
email string
administrator bool
employee Employee
privileges IList
리턴 System

IsInRole() 공개 메소드

public IsInRole ( string role ) : bool
role string
리턴 bool

ToString() 공개 메소드

public ToString ( ) : string
리턴 string