Interface IUsersSearchQuery
Represents a query used for filtering and sorting when listing or searching for users.
Namespace: IRM.AspNetCore.Identity
Assembly: IRM.AspNetCore.Identity.dll
Syntax
public interface IUsersSearchQuery
Properties
Ids
An array of unique user/person ids to get. Supplying this will ignore other query parameters.
Declaration
Guid[] Ids { get; }
Property Value
System.Guid[]
|
OnlySearchEmail
Gets if only the email field should be search with the SearchTerm.
Declaration
bool OnlySearchEmail { get; }
Property Value
Boolean
|
OnlySearchUsername
Gets if only the username field should be search with the SearchTerm.
Declaration
bool OnlySearchUsername { get; }
Property Value
Boolean
|
SearchTerm
The text to search for in users. The search is performed on the Email, FirstName and LastName fields.
Declaration
string SearchTerm { get; }
Property Value
String
|
ShouldSearch
Gets if a search should be done or not.
Declaration
bool ShouldSearch { get; }
Property Value
Boolean
true if a search should be done; otherwise false. |
UserKind
Gets what kind of users that should be included in the search.
Declaration
UserKind UserKind { get; }
Property Value
UserKind
|