Search Results for

    Show / Hide Table of Contents
    View Source

    Interface IRequestMemberAccessService

    Defines a service that handles member access checks for the Delivery API.

    Namespace: Umbraco.Cms.Core.DeliveryApi
    Assembly: Umbraco.Core.dll
    Syntax
    public interface IRequestMemberAccessService

    Methods

    View Source

    MemberAccessAsync()

    Gets the protected access information for the current member.

    Declaration
    Task<ProtectedAccess> MemberAccessAsync()
    Returns
    Type Description
    Task<ProtectedAccess>

    The protected access information.

    View Source

    MemberHasAccessToAsync(IPublishedContent)

    Determines whether the current member has access to the specified content.

    Declaration
    Task<PublicAccessStatus> MemberHasAccessToAsync(IPublishedContent content)
    Parameters
    Type Name Description
    IPublishedContent content

    The published content to check access for.

    Returns
    Type Description
    Task<PublicAccessStatus>

    The access status indicating whether the member can access the content.

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