C# 클래스 Epiworx.Business.Security.BusinessPrincipal

파일 보기 프로젝트 열기: mattruma/epiworx-csla 1 사용 예제들

공개 메소드들

메소드 설명
BusinessPrincipal ( ) : System
GetCurrentIdentity ( ) : BusinessIdentity
GetCurrentPrincipal ( ) : BusinessPrincipal
IsInRole ( string role ) : bool
LoadPrincipal ( string username ) : void
Login ( string username, string password ) : bool
Logout ( ) : void

비공개 메소드들

메소드 설명
BusinessPrincipal ( IIdentity identity ) : System
SetPrincipal ( BusinessIdentity identity ) : bool

메소드 상세

BusinessPrincipal() 공개 메소드

public BusinessPrincipal ( ) : System
리턴 System

GetCurrentIdentity() 공개 정적인 메소드

public static GetCurrentIdentity ( ) : BusinessIdentity
리턴 BusinessIdentity

GetCurrentPrincipal() 공개 정적인 메소드

public static GetCurrentPrincipal ( ) : BusinessPrincipal
리턴 BusinessPrincipal

IsInRole() 공개 메소드

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

LoadPrincipal() 공개 정적인 메소드

public static LoadPrincipal ( string username ) : void
username string
리턴 void

Login() 공개 정적인 메소드

public static Login ( string username, string password ) : bool
username string
password string
리턴 bool

Logout() 공개 정적인 메소드

public static Logout ( ) : void
리턴 void