Toggle navigation
Hot Examples
KO
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
C#
PHP
C#
Java
Go
C++
Python
JS
TS
검색
홈
Catbert4
Tests
Core
Helpers
MockPrincipal
C# 클래스 Catbert4.Tests.Core.Helpers.MockPrincipal
Mock the Principal. Used for getting the current user name
상속:
IPrincipal
파일 보기
프로젝트 열기: ucdavis/Catbert
공개 메소드들
메소드
설명
IsInRole
(
string
role
) :
bool
MockPrincipal
(
string
userRoles
) :
System.IO
메소드 상세
IsInRole()
공개
메소드
public
IsInRole
(
string
role
) :
bool
role
string
리턴
bool
MockPrincipal()
공개
메소드
public
MockPrincipal
(
string
userRoles
) :
System.IO
userRoles
string
리턴
System.IO