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
IsInRole
Catbert4.Tests.Core.Helpers.MockPrincipal.IsInRole C# (CSharp) Method
MockPrincipal Class Documentation
Mostrar archivo
Open project: ucdavis/Catbert
IsInRole()
public
method
public
IsInRole
(
string
role
) :
bool
role
string
return
bool
public bool IsInRole(string role) { if (UserRoles.Contains(role)) { return true; } return false; }
MockPrincipal
IsInRole
MockPrincipal