Class ContentPermissionSet
Represents an IContent -> user group & permission key value pair collection
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 SourceContentPermissionSet(IContent, EntityPermissionCollection)
Declaration
public ContentPermissionSet(IContent content, EntityPermissionCollection permissionsSet)
Parameters
| Type | Name | Description |
|---|---|---|
| IContent | content | |
| EntityPermissionCollection | permissionsSet |
Properties
View SourceEntityId
The entity id with permissions assigned
Declaration
public override int EntityId { get; }
Property Value
| Type | Description |
|---|---|
| int |