Search Results for

    Show / Hide Table of Contents
    View Source

    Class DocumentGranularPermission

    Inheritance
    object
    Namespace: Umbraco.Cms.Core.Models.Membership.Permissions
    Assembly: Umbraco.Core.dll
    Syntax
    public class DocumentGranularPermission : INodeGranularPermission, IGranularPermission

    Fields

    View Source

    ContextType

    Declaration
    public const string ContextType = "Document"
    Field Value
    Type Description
    string

    Properties

    View Source

    Context

    Declaration
    public string Context { get; }
    Property Value
    Type Description
    string
    View Source

    Key

    Declaration
    public required Guid Key { get; set; }
    Property Value
    Type Description
    Guid
    View Source

    Permission

    Declaration
    public required string Permission { get; set; }
    Property Value
    Type Description
    string

    Methods

    View Source

    Equals(object?)

    Determines whether the specified object is equal to the current object.

    Declaration
    public override bool Equals(object? obj)
    Parameters
    Type Name Description
    object obj

    The object to compare with the current object.

    Returns
    Type Description
    bool

    true if the specified object is equal to the current object; otherwise, false.

    View Source

    Equals(DocumentGranularPermission)

    Declaration
    protected bool Equals(DocumentGranularPermission other)
    Parameters
    Type Name Description
    DocumentGranularPermission other
    Returns
    Type Description
    bool
    View Source

    GetHashCode()

    Serves as the default hash function.

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    int

    A hash code for the current object.

    • Edit this page
    • View Source
    In this article
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX