backend::service::users

Function search_by_username

source
pub async fn search_by_username(
    search_params: &UserSearchParameters,
    pagination: &PageParameters,
    user_id: Uuid,
    keycloak_api: &SharedKeycloakApi,
    http_client: &SharedHttpClient,
) -> Result<Vec<UserDto>, ServiceError>
Expand description

Search for users by their username.

ยงErrors

  • If the connection to the Keycloak API could not be established.