---
title: "Users_User_badgesByUsername (Discourse)"
description: "itgen_dce_users_user_badgesbyusername_plural"
language: it
source_language: en
translation_state: pending
canonical: https://documentation.invantive.eu/it/datamodels/discourse/Discourse.Users.Users_User_badgesByUsername
original: https://documentation.invantive.eu/en/datamodels/discourse/Discourse.Users.Users_User_badgesByUsername
updated: 2026-11-16T20:47:51Z
license: https://documentation.invantive.eu/it/
---

# Users_User_badgesByUsername: Discourse itgen_dce_users_user_badgesbyusername_plural

`read only` `REST`

- Catalogo: `Discourse`
- Schema: `Users`
- Etichetta: itgen_dce_users_user_badgesbyusername_plural

Get a single user by username

È possibile solo recuperare i dati.

## Riepilogo

Get a single user by username

## Codice sorgente dell'API

- Punto finale: `/users/{username}.json`
- Operazione: `get /users/{username}.json`

## Caratteristiche prestazionali

| Characteristic | Value |
|---|---:|
| Latenza media di accesso (ms) | 243 |
| Scrittura di righe al minuto | 219 |

Il risultato può essere memorizzato nella memoria cache sul client.

## Parametri

| Name | Tipo di dati | Required | Default | Documentation |
|---|---|:---:|---|---|
| `username` | `` | [x] |  |  |

## Colonne della tabella

Di seguito sono riportate le colonne della tabella `Users_User_badgesByUsername`. Ogni colonna ha un tipo di dati SQL. Un nuovo valore non nullo deve essere fornito per ogni colonna richiesta in ogni momento durante l'inserimento e l'aggiornamento.

| Name | Tipo di dati | Label | Required | Marks | Documentation |
|---|---|---|:---:|---|---|
| `badge_id` | `int32` | ID badge | [ ] | filters on the platform, writable, `badge_id` |  |
| `count` | `int32` | Count | [ ] | filters on the platform, writable, `count` |  |
| `created_at` | `datetime` | Creato il | [ ] | filters on the platform, writable, `created_at` |  |
| `granted_at` | `datetime` | Concesso il | [ ] | filters on the platform, writable, `granted_at` |  |
| `granted_by_id` | `int32` | Concesso da ID | [ ] | filters on the platform, writable, `granted_by_id` |  |
| `id` | `int32` | ID | [ ] | filters on the platform, writable, `id` |  |
| `post_id` | `int32` | ID post | [ ] | filters on the platform, writable, `post_id` |  |
| `post_number` | `int32` | Numero del post | [ ] | filters on the platform, writable, `post_number` |  |
| `topic_id` | `int32` | ID argomento | [ ] | filters on the platform, writable, `topic_id` |  |
| `user_admin` | `char` | Amministrazione utenti | [ ] | filters on the platform, writable, `::ancestor.user.admin` |  |
| `user_avatar_template` | `varchar2` | Modello per l'avatar dell'utente | [ ] | filters on the platform, writable, `::ancestor.user.avatar_template` |  |
| `user_badge_count` | `decimal` | Numero di badge dell'utente | [ ] | filters on the platform, writable, `::ancestor.user.badge_count` |  |
| `user_can_edit` | `char` | L'utente può modificare | [ ] | filters on the platform, writable, `::ancestor.user.can_edit` |  |
| `user_can_edit_email` | `char` | L'utente può modificare l'indirizzo e-mail | [ ] | filters on the platform, writable, `::ancestor.user.can_edit_email` |  |
| `user_can_edit_name` | `char` | L'utente può modificare il nome | [ ] | filters on the platform, writable, `::ancestor.user.can_edit_name` |  |
| `user_can_edit_username` | `char` | L'utente può modificare il proprio nome utente | [ ] | filters on the platform, writable, `::ancestor.user.can_edit_username` |  |
| `user_can_send_private_message_to_user` | `char` | Un utente può inviare un messaggio privato a un altro utente | [ ] | filters on the platform, writable, `::ancestor.user.can_send_private_message_to_user` |  |
| `user_can_send_private_messages` | `char` | L'utente può inviare messaggi privati | [ ] | filters on the platform, writable, `::ancestor.user.can_send_private_messages` |  |
| `user_card_badge` | `varchar2` | itgen_dce_user_card_badge | [ ] | writable | The JSON text of the nested object. |
| `user_created_at` | `varchar2` | Utente creato il | [ ] | filters on the platform, writable, `::ancestor.user.created_at` |  |
| `user_custom_fields` | `varchar2` | itgen_dce_user_custom_fields | [ ] | writable | The JSON text of the nested object. |
| `user_id` | `decimal` | ID Utente | [ ] | filters on the platform, writable, `::ancestor.user.id` |  |
| `user_id2` | `int32` | itgen_dce_user_id2 | [ ] | filters on the platform, writable, `user_id` |  |
| `user_invited_by` | `varchar2` | Utente invitato da | [ ] | writable | The JSON text of the nested object. |
| `user_last_posted_at` | `varchar2` | Ultimo messaggio dell'utente alle | [ ] | filters on the platform, writable, `::ancestor.user.last_posted_at` |  |
| `user_last_seen_at` | `varchar2` | Ultima volta che l'utente è stato visto alle | [ ] | filters on the platform, writable, `::ancestor.user.last_seen_at` |  |
| `user_moderator` | `char` | Utente moderatore | [ ] | filters on the platform, writable, `::ancestor.user.moderator` |  |
| `user_name` | `varchar2` | Nome Utente | [ ] | writable | The JSON text of the nested object. |
| `user_pending_count` | `decimal` | Numero di utenti in attesa | [ ] | filters on the platform, writable, `::ancestor.user.pending_count` |  |
| `user_primary_group_flair_bg_color` | `varchar2` | itgen_dce_user_primary_group_flair_bg_color | [ ] | writable | The JSON text of the nested object. |
| `user_primary_group_flair_color` | `varchar2` | itgen_dce_user_primary_group_flair_color | [ ] | writable | The JSON text of the nested object. |
| `user_primary_group_flair_url` | `varchar2` | itgen_dce_user_primary_group_flair_url | [ ] | writable | The JSON text of the nested object. |
| `user_primary_group_name` | `varchar2` | Nome del gruppo principale dell'utente | [ ] | writable | The JSON text of the nested object. |
| `user_profile_view_count` | `decimal` | Numero di view del profilo utente | [ ] | filters on the platform, writable, `::ancestor.user.profile_view_count` |  |
| `user_title` | `varchar2` | Titolo utente | [ ] | writable | The JSON text of the nested object. |
| `user_trust_level` | `decimal` | Livello di fiducia dell'utente | [ ] | filters on the platform, writable, `::ancestor.user.trust_level` |  |
| `user_uploaded_avatar_id` | `varchar2` | ID dell'avatar caricato dall'utente | [ ] | writable | The JSON text of the nested object. |
| `user_username` | `varchar2` | Nome Utente | [ ] | filters on the platform, writable, `::ancestor.user.username` |  |
| `user_website_name` | `varchar2` | itgen_dce_user_website_name | [ ] | writable | The JSON text of the nested object. |


## Note di rilascio

Cosa è cambiato, versione per versione, nelle tabelle, nelle colonne, negli attributi e nelle funzionalità del driver:

- [Discourse](/it/release-notes/drivers?driver=discourse)

### Modifiche apportate a questa tabella, da 26.0 a 27.0

<div class="rn-item" id="DCE-27.0-D045">

##### La funzione tabella Discourse.Users.Users_User_badgesByUsername è stata rimossa

Un'istruzione del tipo Discourse.Users.Users_User_badgesByUsername non viene eseguita correttamente dopo l'aggiornamento. Aveva colonne 39. L’operazione non è presente nella specifica Discourse aggiornata oppure ha un altro nome.

<div class="rn-action">

**Cosa fare**

Verificare le istruzioni, le Views e gli script che la utilizzano prima dell’aggiornamento.

</div>

<div class="rn-chips">

- **può interrompere un'istruzione**
- importanza 5

</div>

</div>

[Tutte le sostituzioni del conducente, da 26.0 a 27.0](/it/release-notes/drivers?driver=discourse&step=26.0-to-27.0#discourse-26.0-to-27.0)
