C# 클래스 vlko.core.Roots.User

상속: IIdentity
파일 보기 프로젝트 열기: vlko/vlko 1 사용 예제들

공개 메소드들

메소드 설명
IsAdmin ( ) : bool

Determines whether this instance is admin.

IsInRole ( string role ) : bool

Determines whether [is user in role] [the specified role].

메소드 상세

IsAdmin() 공개 메소드

Determines whether this instance is admin.
public IsAdmin ( ) : bool
리턴 bool

IsInRole() 공개 메소드

Determines whether [is user in role] [the specified role].
public IsInRole ( string role ) : bool
role string The role.
리턴 bool