Search Results for

    Show / Hide Table of Contents
    View Source

    Interface IMemberPresentationService

    Service for resolving members across both content and external stores and creating presentation models.

    Namespace: Umbraco.Cms.Api.Management.Services
    Assembly: Umbraco.Cms.Api.Management.dll
    Syntax
    public interface IMemberPresentationService

    Methods

    View Source

    CreateItemResponseModelsAsync(HashSet<Guid>)

    Resolves members by keys from both the content and external stores and creates item response models.

    Declaration
    Task<IEnumerable<MemberItemResponseModel>> CreateItemResponseModelsAsync(HashSet<Guid> ids)
    Parameters
    Type Name Description
    HashSet<Guid> ids

    The unique identifiers of the members to resolve.

    Returns
    Type Description
    Task<IEnumerable<MemberItemResponseModel>>

    A collection of MemberItemResponseModel for all resolved members.

    View Source

    CreateResponseModelByKeyAsync(Guid, IUser)

    Resolves a member by key from either the content or external store and creates a response model.

    Declaration
    Task<MemberResponseModel?> CreateResponseModelByKeyAsync(Guid id, IUser currentUser)
    Parameters
    Type Name Description
    Guid id

    The unique identifier of the member.

    IUser currentUser

    The current backoffice user performing the operation.

    Returns
    Type Description
    Task<MemberResponseModel>

    A MemberResponseModel if found; otherwise null.

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