Adf.Core.Authorization.AuthorizationManager.IsInRole C# (CSharp) Метод

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);
        }