Class RolesSearchQuery
Represents a query used for filtering and sorting when listing or searching for roles.
Inherited Members
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: IRM.AspNetCore.Identity
Assembly: IRM.AspNetCore.Identity.dll
Syntax
public class RolesSearchQuery : SearchQuery, Message
Constructors
RolesSearchQuery()
Properties
Kind
Gets or sets the kind of roles to search for.
Declaration
public RoleKind Kind { get; set; }
Property Value
RoleKind
|
SearchTerm
The text to search for in roles. The search is performed on the Name field.
Declaration
public override string SearchTerm { get; set; }
Property Value
String
|
Overrides
ShouldSearch
Gets if a search should be done or not.
Declaration
public override bool ShouldSearch { get; }
Property Value
Boolean
true if a search should be done; otherwise false. |
Overrides
TenantId
Gets or sets the tenant to get roles for if not the logged in users tenant should be used, which is default in a multi-tenant environment.
Declaration
public Guid? TenantId { get; set; }
Property Value
System.Nullable<System.Guid>
|