Search Results for

    Show / Hide Table of Contents
    View Source

    Class EntityPermissionCollection

    A System.Collections.Generic.HashSet<T> of EntityPermission

    Inheritance
    object
    HashSet<EntityPermission>
    Namespace: Umbraco.Cms.Core.Models.Membership
    Assembly: Umbraco.Core.dll
    Syntax
    public class EntityPermissionCollection : HashSet<EntityPermission>

    Constructors

    View Source

    EntityPermissionCollection()

    Declaration
    public EntityPermissionCollection()
    View Source

    EntityPermissionCollection(IEnumerable<EntityPermission>)

    Declaration
    public EntityPermissionCollection(IEnumerable<EntityPermission> collection)
    Parameters
    Type Name Description
    IEnumerable<EntityPermission> collection

    Methods

    View Source

    GetAllPermissions()

    Returns the aggregate permissions in the permission set for all nodes

    Declaration
    public ISet<string> GetAllPermissions()
    Returns
    Type Description
    ISet<string>
    Remarks

    This value is only calculated once

    View Source

    GetAllPermissions(int)

    Returns the aggregate permissions in the permission set for a single node

    Declaration
    public ISet<string> GetAllPermissions(int entityId)
    Parameters
    Type Name Description
    int entityId
    Returns
    Type Description
    ISet<string>
    Remarks

    This value is only calculated once per node

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