Search Results for

    Show / Hide Table of Contents
    View Source

    Class UnknownTypeGranularPermission

    Represents a granular permission with an unknown or unrecognized context type.

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

    Constructors

    View Source

    UnknownTypeGranularPermission()

    Declaration
    public UnknownTypeGranularPermission()

    Properties

    View Source

    Context

    Gets the context type identifier for this permission.

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

    Permission

    Gets or sets the permission identifier.

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

    Methods

    View Source

    Equals(object?)

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

    Equals(UnknownTypeGranularPermission)

    Determines whether this instance is equal to another UnknownTypeGranularPermission.

    Declaration
    protected bool Equals(UnknownTypeGranularPermission other)
    Parameters
    Type Name Description
    UnknownTypeGranularPermission other

    The other instance to compare.

    Returns
    Type Description
    bool

    true if equal; otherwise, false.

    View Source

    GetHashCode()

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    int
    • View Source
    In this article
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX