Toggle navigation
Hot Examples
DE
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
C#
PHP
C#
Java
Go
C++
Python
JS
TS
Suchen
Home
AuthenticationUsingFilters
Model
User
IsInRole
AuthenticationUsingFilters.Model.User.IsInRole C# (CSharp) Method
User Class Documentation
Datei anzeigen
Open project: nats/castle-1.0.3-mono
IsInRole()
public
method
public
IsInRole
(
string
role
) :
bool
role
string
return
bool
public bool IsInRole(string role) { return Array.IndexOf(roles, role) >= 0; }
User
IsInRole
User