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
CreatedFrom
Gets or sets the created from date.
public DateTime? CreatedFrom { get; init; }
Property Value
CreatedTo
Gets or sets the created to date.
public DateTime? CreatedTo { get; init; }
Property Value
CustomerNumber
Gets or sets the customer number.
public string? CustomerNumber { get; init; }
Property Value
ExcludedGroupIds
Gets or sets the excluded group IDs.
public IEnumerable<int>? ExcludedGroupIds { get; set; }
Property Value
GroupIds
Gets or sets the group IDs.
public IEnumerable<int>? GroupIds { get; init; }
Property Value
OrderBy
Gets or sets the order by field.
public string? OrderBy { get; init; }
Property Value
OrderByDirection
Gets or sets the order by direction.
public string? OrderByDirection { get; init; }
Property Value
PageNumber
Gets or sets the page number.
public int PageNumber { get; init; }
Property Value
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
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
SearchValue
Gets or sets the search value.
public string? SearchValue { get; init; }
Property Value
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
UpdatedFrom
Gets or sets the updated from date.
public DateTime? UpdatedFrom { get; init; }
Property Value
UpdatedTo
Gets or sets the updated to date.
public DateTime? UpdatedTo { get; init; }
Property Value
UserIds
Gets or sets the user IDs.
public IEnumerable<int>? UserIds { get; init; }