Toggle navigation
Hot Examples
RU
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
C#
PHP
C#
Java
Go
C++
Python
JS
TS
Найти
Главная
Adf
Core
Authorization
AuthorizationManager
IsInRole
Adf.Core.Authorization.AuthorizationManager.IsInRole C# (CSharp) Метод
Документация по классу AuthorizationManager
Показать файл
Открыть проект
IsInRole()
публичный
статический
Метод
Checks whether the current user belongs to the specified role.
public
static
IsInRole
(
string
role
) :
bool
role
string
Role name to check for.
Результат
bool
public static bool IsInRole(string role) { return AuthorizationProvider.IsInRole(role); }
AuthorizationManager
IsAllowed
IsInRole
Login
Logout