• Core
  • Infrastructure
  • Web
  • Extensions
Search Results for

    Show / Hide Table of Contents
    View Source

    Class ContentPermissionSet

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

    Inheritance
    System.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)

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

    Properties

    View Source

    EntityId

    Declaration
    public override int EntityId { get; }
    Property Value
    Type Description
    System.Int32

    Explicit Interface Implementations

    View Source

    IEntity.CreateDate

    Declaration
    DateTime IEntity.CreateDate { get; set; }
    Returns
    Type Description
    DateTime
    View Source

    IEntity.DeleteDate

    Declaration
    DateTime? IEntity.DeleteDate { get; set; }
    Returns
    Type Description
    System.Nullable<DateTime>
    View Source

    IEntity.HasIdentity

    Declaration
    bool IEntity.HasIdentity { get; }
    Returns
    Type Description
    System.Boolean
    View Source

    IEntity.Id

    Declaration
    int IEntity.Id { get; set; }
    Returns
    Type Description
    System.Int32
    View Source

    IEntity.Key

    Declaration
    Guid IEntity.Key { get; set; }
    Returns
    Type Description
    Guid
    View Source

    IEntity.ResetIdentity()

    Declaration
    void IEntity.ResetIdentity()
    View Source

    IEntity.UpdateDate

    Declaration
    DateTime IEntity.UpdateDate { get; set; }
    Returns
    Type Description
    DateTime
    View Source

    IDeepCloneable.DeepClone()

    Declaration
    object IDeepCloneable.DeepClone()
    Returns
    Type Description
    System.Object
    • Improve this Doc
    • View Source
    In This Article
    • Constructors
      • ContentPermissionSet(IContent, EntityPermissionCollection)
    • Properties
      • EntityId
    • Explicit Interface Implementations
      • IEntity.CreateDate
      • IEntity.DeleteDate
      • IEntity.HasIdentity
      • IEntity.Id
      • IEntity.Key
      • IEntity.ResetIdentity()
      • IEntity.UpdateDate
      • IDeepCloneable.DeepClone()
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX