Search Results for

    Show / Hide Table of Contents
    View Source

    Class ProtectedAccess

    Represents protected access information for content in the Delivery API.

    Inheritance
    object
    Namespace: Umbraco.Cms.Core.Models.DeliveryApi
    Assembly: Umbraco.Core.dll
    Syntax
    public sealed class ProtectedAccess

    Constructors

    View Source

    ProtectedAccess(Guid?, string[]?)

    Initializes a new instance of the ProtectedAccess class.

    Declaration
    public ProtectedAccess(Guid? memberKey, string[]? memberRoles)
    Parameters
    Type Name Description
    Guid? memberKey

    The unique identifier of the member who has access.

    string[] memberRoles

    The member roles that have access.

    Properties

    View Source

    MemberKey

    Gets the unique identifier of the member who has access.

    Declaration
    public Guid? MemberKey { get; }
    Property Value
    Type Description
    Guid?
    View Source

    MemberRoles

    Gets the member roles that have access.

    Declaration
    public string[]? MemberRoles { get; }
    Property Value
    Type Description
    string[]
    View Source

    None

    Gets a ProtectedAccess instance representing no protection.

    Declaration
    public static ProtectedAccess None { get; }
    Property Value
    Type Description
    ProtectedAccess
    • View Source
    In this article
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX