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
ServiceStack
AuthUserSession
HasRole
ServiceStack.AuthUserSession.HasRole C# (CSharp) Method
AuthUserSession Class Documentation
ファイルを表示
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