C# 클래스 System.Web.Security.ComBoostPrincipal

ComBoost principal wrapper.
상속: IPrincipal
파일 보기 프로젝트 열기: Kation/ComBoost 1 사용 예제들

공개 메소드들

메소드 설명
ComBoostPrincipal ( IPrincipal user ) : System

Initialize comboost principal.

IsInRole ( object role ) : bool

Determines whether the current principal belongs to the specified role.

IsInRole ( string role ) : bool

Determines whether the current principal belongs to the specified role.

메소드 상세

ComBoostPrincipal() 공개 메소드

Initialize comboost principal.
public ComBoostPrincipal ( IPrincipal user ) : System
user IPrincipal Principal to wrapper.
리턴 System

IsInRole() 공개 메소드

Determines whether the current principal belongs to the specified role.
public IsInRole ( object role ) : bool
role object Role.
리턴 bool

IsInRole() 공개 메소드

Determines whether the current principal belongs to the specified role.
public IsInRole ( string role ) : bool
role string Role.
리턴 bool