Toggle navigation
Hot Examples
JP
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
C#
PHP
C#
Java
Go
C++
Python
JS
TS
検索
Home
Catbert4
Tests
Core
Helpers
MockPrincipal
IsInRole
Catbert4.Tests.Core.Helpers.MockPrincipal.IsInRole C# (CSharp) Method
MockPrincipal Class Documentation
ファイルを表示
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