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
ServiceStack
AuthUserSession
HasRole
ServiceStack.AuthUserSession.HasRole C# (CSharp) Method
AuthUserSession Class Documentation
Mostrar archivo
Open project: nustack/ServiceStack
HasRole()
public
method
public
HasRole
(
string
role
) :
bool
role
string
return
bool
public virtual bool HasRole(string role) { return this.Roles != null && this.Roles.Contains(role); }
AuthUserSession
AuthUserSession
HasPermission
HasRole
IsAuthorized
OnAuthenticated
OnCreated
OnLogout
OnRegistered