Search Results for

    Show / Hide Table of Contents
    View Source

    Class ContentPermissionSet

    Represents an IContent -> user group & permission key value pair collection

    Inheritance
    object
    EntityPermissionSet
    Namespace: Umbraco.Cms.Core.Models.Membership
    Assembly: Umbraco.Core.dll
    Syntax
    public class ContentPermissionSet : EntityPermissionSet, IEntity, IDeepCloneable
    Remarks

    This implements IEntity purely so it can be used with the repository layer which is why it's explicitly implemented.

    Constructors

    View Source

    ContentPermissionSet(IContent, EntityPermissionCollection)

    Initializes a new instance of the ContentPermissionSet class.

    Declaration
    public ContentPermissionSet(IContent content, EntityPermissionCollection permissionsSet)
    Parameters
    Type Name Description
    IContent content

    The content item associated with the permission set.

    EntityPermissionCollection permissionsSet

    The collection of entity permissions.

    Properties

    View Source

    EntityId

    The entity id with permissions assigned

    Declaration
    public override int EntityId { get; }
    Property Value
    Type Description
    int
    • View Source
    In this article
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX