Table of Contents

Class CountRequestBuilder.CountRequestBuilderGetQueryParameters

Namespace
Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Users.Count
Assembly
Keycloak.AuthServices.Sdk.Kiota.dll

It can be called in three different ways. 1. Don’t specify any criteria and pass {@code null}. The number of all users within that realm will be returned. <p> 2. If {@code search} is specified other criteria such as {@code last} will be ignored even though you set them. The {@code search} string will be matched against the first and last name, the username and the email of a user. <p> 3. If {@code search} is unspecified but any of {@code last}, {@code first}, {@code email} or {@code username} those criteria are matched against their respective fields on a user entity. Combined with a logical and.

public class CountRequestBuilder.CountRequestBuilderGetQueryParameters
Inheritance
CountRequestBuilder.CountRequestBuilderGetQueryParameters
Inherited Members

Properties

Email

A String contained in email, or the complete email, if param "exact" is true

[QueryParameter("email")]
public string? Email { get; set; }

Property Value

string

EmailVerified

whether the email has been verified

[QueryParameter("emailVerified")]
public bool? EmailVerified { get; set; }

Property Value

bool?

Enabled

Boolean representing if user is enabled or not

[QueryParameter("enabled")]
public bool? Enabled { get; set; }

Property Value

bool?

Exact

Boolean which defines whether the params "last", "first", "email" and "username" must match exactly

[QueryParameter("exact")]
public bool? Exact { get; set; }

Property Value

bool?

FirstName

A String contained in firstName, or the complete firstName, if param "exact" is true

[QueryParameter("firstName")]
public string? FirstName { get; set; }

Property Value

string

IdpAlias

The alias of an Identity Provider linked to the user

[QueryParameter("idpAlias")]
public string? IdpAlias { get; set; }

Property Value

string

IdpUserId

The userId at an Identity Provider linked to the user

[QueryParameter("idpUserId")]
public string? IdpUserId { get; set; }

Property Value

string

LastName

A String contained in lastName, or the complete lastName, if param "exact" is true

[QueryParameter("lastName")]
public string? LastName { get; set; }

Property Value

string

Q

A query to search for custom attributes, in the format 'key1:value2 key2:value2'

[QueryParameter("q")]
public string? Q { get; set; }

Property Value

string

A String contained in username, first or last name, or email. Default search behavior is prefix-based (e.g., foo or foo*). Use foo for infix search and "foo" for exact search.

[QueryParameter("search")]
public string? Search { get; set; }

Property Value

string

Username

A String contained in username, or the complete username, if param "exact" is true

[QueryParameter("username")]
public string? Username { get; set; }

Property Value

string