Table of Contents

Class UserSearchFilter

Namespace
Dynamicweb.Security.UserManagement
Assembly
Dynamicweb.Core.dll

Represents a filter for searching users.

public sealed class UserSearchFilter
Inheritance
UserSearchFilter
Inherited Members

Properties

ActiveFilter

Gets or sets the active state filter.

public UserSearchFilter.ActiveStateFilter? ActiveFilter { get; init; }

Property Value

UserSearchFilter.ActiveStateFilter?

CreatedFrom

Gets or sets the created from date.

public DateTime? CreatedFrom { get; init; }

Property Value

DateTime?

CreatedTo

Gets or sets the created to date.

public DateTime? CreatedTo { get; init; }

Property Value

DateTime?

CustomerNumber

Gets or sets the customer number.

public string? CustomerNumber { get; init; }

Property Value

string

ExcludedGroupIds

Gets or sets the excluded group IDs.

public IEnumerable<int>? ExcludedGroupIds { get; set; }

Property Value

IEnumerable<int>

GroupIds

Gets or sets the group IDs.

public IEnumerable<int>? GroupIds { get; init; }

Property Value

IEnumerable<int>

OrderBy

Gets or sets the order by field.

public string? OrderBy { get; init; }

Property Value

string

OrderByDirection

Gets or sets the order by direction.

public string? OrderByDirection { get; init; }

Property Value

string

PageNumber

Gets or sets the page number.

public int PageNumber { get; init; }

Property Value

int

PageSize

Gets or sets the page size. A value less than 1 disables paging and returns all matching users.

public int PageSize { get; init; }

Property Value

int

PreserveUserIdOrder

When set, results are ordered by the position of each id within UserIds (curated order), overriding OrderBy. OrderByDirection still applies and reverses the curated sequence when set to DESC.

public bool PreserveUserIdOrder { get; init; }

Property Value

bool

SearchValue

Gets or sets the search value.

public string? SearchValue { get; init; }

Property Value

string

ServiceAccounts

Controls which account types are included in the results. Defaults to ExcludeServiceAccounts so service accounts are hidden from regular user listings.

public UserSearchFilter.ServiceAccountFilter ServiceAccounts { get; init; }

Property Value

UserSearchFilter.ServiceAccountFilter

UpdatedFrom

Gets or sets the updated from date.

public DateTime? UpdatedFrom { get; init; }

Property Value

DateTime?

UpdatedTo

Gets or sets the updated to date.

public DateTime? UpdatedTo { get; init; }

Property Value

DateTime?

UserIds

Gets or sets the user IDs.

public IEnumerable<int>? UserIds { get; init; }

Property Value

IEnumerable<int>
To top