Toggle navigation
Hot Examples
ES
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
C#
PHP
C#
Java
Go
C++
Python
JS
TS
Buscar
Inicio
Catbert4
Tests
Core
Helpers
MockPrincipal
C# Class Catbert4.Tests.Core.Helpers.MockPrincipal
Mock the Principal. Used for getting the current user name
Inheritance:
IPrincipal
Mostrar archivo
Open project: ucdavis/Catbert
Public Methods
Method
Description
IsInRole
(
string
role
) :
bool
MockPrincipal
(
string
userRoles
) :
System.IO
Method Details
IsInRole()
public
method
public
IsInRole
(
string
role
) :
bool
role
string
return
bool
MockPrincipal()
public
method
public
MockPrincipal
(
string
userRoles
) :
System.IO
userRoles
string
return
System.IO