View Source
Class ElementGranularPermission
Assembly: Umbraco.Core.dll
Syntax
public class ElementGranularPermission : INodeGranularPermission, IGranularPermission
Constructors
View Source
ElementGranularPermission()
Declaration
public ElementGranularPermission()
Fields
View Source
ContextType
Declaration
public const string ContextType = "Element"
Field Value
Properties
View Source
Context
Gets the context type identifier for this permission.
Declaration
public string Context { get; }
Property Value
View Source
Key
Gets or sets the unique key of the node this permission applies to.
Declaration
public required Guid Key { get; set; }
Property Value
View Source
Permission
Gets or sets the permission identifier.
Declaration
public required string Permission { get; set; }
Property Value
Methods
View Source
Equals(object?)
Declaration
public override bool Equals(object? obj)
Parameters
| Type |
Name |
Description |
| object |
obj |
|
Returns
View Source
Equals(ElementGranularPermission)
Declaration
protected bool Equals(ElementGranularPermission other)
Parameters
Returns
View Source
GetHashCode()
Declaration
public override int GetHashCode()
Returns