Search Results for

    Show / Hide Table of Contents
    View Source

    Interface IMemberFilterService

    Provides filtered, paginated member listings that span both content-based and external-only members.

    Namespace: Umbraco.Cms.Core.Services
    Assembly: Umbraco.Core.dll
    Syntax
    public interface IMemberFilterService

    Methods

    View Source

    FilterAsync(MemberFilter, string, Direction, int, int)

    Filters members across both content and external member stores, returning a unified paged result ordered and paginated at the database level.

    Declaration
    Task<PagedModel<MemberFilterItem>> FilterAsync(MemberFilter filter, string orderBy = "username", Direction orderDirection = Direction.Ascending, int skip = 0, int take = 100)
    Parameters
    Type Name Description
    MemberFilter filter

    The filter criteria.

    string orderBy

    The field to order by (e.g. "username", "email"). Defaults to "username".

    Direction orderDirection

    The sort direction.

    int skip

    The number of items to skip.

    int take

    The number of items to return.

    Returns
    Type Description
    Task<PagedModel<MemberFilterItem>>

    A paged model of MemberFilterItem instances.

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