Toggle navigation
Hot Examples
EN
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
C#
PHP
C#
Java
Go
C++
Python
JS
TS
Search
Home
ReviewR
Web
Models
ReviewRPrincipal
IsInRole
ReviewR.Web.Models.ReviewRPrincipal.IsInRole C# (CSharp) Method
ReviewRPrincipal Class Documentation
Show file
Open project: anurse/ReviewR
IsInRole()
public
method
public
IsInRole
(
string
role
) :
bool
role
string
return
bool
public bool IsInRole(string role) { return Identity.Roles.Contains(role); }
ReviewRPrincipal
FromUser
IsInRole
ReviewRPrincipal