Search Results for

    Show / Hide Table of Contents
    View Source

    Interface IDictionaryPermissionAuthorizer

    Authorizes dictionary access based on cultures.

    Namespace: Umbraco.Cms.Core.Security.Authorization
    Assembly: Umbraco.Core.dll
    Syntax
    public interface IDictionaryPermissionAuthorizer

    Methods

    View Source

    IsAuthorizedForCultures(IUser, ISet<string>)

    Authorizes whether the current user has access to the specified cultures for dictionary operations.

    Declaration
    Task<bool> IsAuthorizedForCultures(IUser currentUser, ISet<string> culturesToCheck)
    Parameters
    Type Name Description
    IUser currentUser

    The current user.

    ISet<string> culturesToCheck

    The collection of cultures to check authorization for.

    Returns
    Type Description
    Task<bool>

    Returns true if authorization is successful, otherwise false.

    • View Source
    In this article
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX