Class EntityPermissionCollection
A
Inheritance
System.Object
Namespace: Umbraco.Cms.Core.Models.Membership
Assembly: Umbraco.Core.dll
Syntax
public class EntityPermissionCollection : HashSet<EntityPermission>
Constructors
View SourceEntityPermissionCollection()
Declaration
public EntityPermissionCollection()
EntityPermissionCollection(IEnumerable<EntityPermission>)
Declaration
public EntityPermissionCollection(IEnumerable<EntityPermission> collection)
Parameters
Type | Name | Description |
---|---|---|
IEnumerable<EntityPermission> | collection |
Methods
View SourceGetAllPermissions()
Returns the aggregate permissions in the permission set for all nodes
Declaration
public IEnumerable<string> GetAllPermissions()
Returns
Type | Description |
---|---|
IEnumerable<System.String> |
Remarks
This value is only calculated once
GetAllPermissions(Int32)
Returns the aggregate permissions in the permission set for a single node
Declaration
public IEnumerable<string> GetAllPermissions(int entityId)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | entityId |
Returns
Type | Description |
---|---|
IEnumerable<System.String> |
Remarks
This value is only calculated once per node