Search Results for

    Show / Hide Table of Contents
    View Source

    Class UserFilter

    Represents filter criteria for querying users.

    Inheritance
    object
    Namespace: Umbraco.Cms.Core.Models.Membership
    Assembly: Umbraco.Core.dll
    Syntax
    public class UserFilter

    Constructors

    View Source

    UserFilter()

    Declaration
    public UserFilter()

    Properties

    View Source

    ExcludeUserGroups

    Gets or sets the set of user group keys to exclude from the filter.

    Declaration
    public ISet<Guid>? ExcludeUserGroups { get; set; }
    Property Value
    Type Description
    ISet<Guid>
    View Source

    IncludeUserStates

    Gets or sets the set of user states to include in the filter.

    Declaration
    public ISet<UserState>? IncludeUserStates { get; set; }
    Property Value
    Type Description
    ISet<UserState>
    View Source

    IncludedUserGroups

    Gets or sets the set of user group keys to include in the filter.

    Declaration
    public ISet<Guid>? IncludedUserGroups { get; set; }
    Property Value
    Type Description
    ISet<Guid>
    View Source

    NameFilters

    Gets or sets the set of name filters to apply.

    Declaration
    public ISet<string>? NameFilters { get; set; }
    Property Value
    Type Description
    ISet<string>

    Methods

    View Source

    Merge(UserFilter)

    Merges two user filters

    Declaration
    public UserFilter Merge(UserFilter target)
    Parameters
    Type Name Description
    UserFilter target

    User filter to merge with.

    Returns
    Type Description
    UserFilter

    A new filter containing the union of the two filters.

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