---
title: "Users_User_badgesByUsername (Discourse)"
description: "itgen_dce_users_user_badgesbyusername_plural"
language: es
source_language: en
translation_state: pending
canonical: https://documentation.invantive.eu/es/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/es/
---

# Users_User_badgesByUsername: Discourse itgen_dce_users_user_badgesbyusername_plural

`read only` `REST`

- Catálogo: `Discourse`
- Esquema: `Users`
- Etiqueta: itgen_dce_users_user_badgesbyusername_plural

Get a single user by username

Solo puede recuperar datos.

## Resumen

Get a single user by username

## Fuente de la API

- Punto final: `/users/{username}.json`
- Operación: `get /users/{username}.json`

## Características de rendimiento

| Characteristic | Value |
|---|---:|
| Latencia media de acceso (ms) | 243 |
| Escribir filas por minuto | 219 |

El resultado se puede almacenar en la Caché del cliente.

## Parámetros

| Name | Tipo de Datos | Required | Default | Documentation |
|---|---|:---:|---|---|
| `username` | `` | [x] |  |  |

## Columnas de la Tabla

A continuación se muestran las columnas de la tabla `Users_User_badgesByUsername`. Cada columna tiene un tipo de datos SQL. Se debe proporcionar un nuevo valor no nulo para cada columna requerida en todo momento durante la inserción y la actualización.

| Name | Tipo de Datos | Label | Required | Marks | Documentation |
|---|---|---|:---:|---|---|
| `badge_id` | `int32` | N.º de identificación de la tarjeta | [ ] | filters on the platform, writable, `badge_id` |  |
| `count` | `int32` | Count | [ ] | filters on the platform, writable, `count` |  |
| `created_at` | `datetime` | Creado en | [ ] | filters on the platform, writable, `created_at` |  |
| `granted_at` | `datetime` | Concedido el | [ ] | filters on the platform, writable, `granted_at` |  |
| `granted_by_id` | `int32` | Concedido por ID | [ ] | filters on the platform, writable, `granted_by_id` |  |
| `id` | `int32` | ID | [ ] | filters on the platform, writable, `id` |  |
| `post_id` | `int32` | ID de la publicación | [ ] | filters on the platform, writable, `post_id` |  |
| `post_number` | `int32` | Número de publicación | [ ] | filters on the platform, writable, `post_number` |  |
| `topic_id` | `int32` | ID del Tema | [ ] | filters on the platform, writable, `topic_id` |  |
| `user_admin` | `char` | Administración de usuarios | [ ] | filters on the platform, writable, `::ancestor.user.admin` |  |
| `user_avatar_template` | `varchar2` | Plantilla de avatar de usuario | [ ] | filters on the platform, writable, `::ancestor.user.avatar_template` |  |
| `user_badge_count` | `decimal` | Recuento de insignias de usuario | [ ] | filters on the platform, writable, `::ancestor.user.badge_count` |  |
| `user_can_edit` | `char` | El usuario puede editar | [ ] | filters on the platform, writable, `::ancestor.user.can_edit` |  |
| `user_can_edit_email` | `char` | El usuario puede editar el correo electrónico | [ ] | filters on the platform, writable, `::ancestor.user.can_edit_email` |  |
| `user_can_edit_name` | `char` | El usuario puede editar el nombre | [ ] | filters on the platform, writable, `::ancestor.user.can_edit_name` |  |
| `user_can_edit_username` | `char` | El usuario puede editar su nombre de usuario | [ ] | filters on the platform, writable, `::ancestor.user.can_edit_username` |  |
| `user_can_send_private_message_to_user` | `char` | Un usuario puede enviar un mensaje privado a otro usuario | [ ] | filters on the platform, writable, `::ancestor.user.can_send_private_message_to_user` |  |
| `user_can_send_private_messages` | `char` | El usuario puede enviar mensajes privados | [ ] | 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` | Usuario creado el | [ ] | 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` | Identificación de Usuario | [ ] | 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` | Usuario invitado por | [ ] | writable | The JSON text of the nested object. |
| `user_last_posted_at` | `varchar2` | Última publicación del usuario el | [ ] | filters on the platform, writable, `::ancestor.user.last_posted_at` |  |
| `user_last_seen_at` | `varchar2` | Última vez que se vio al usuario a las | [ ] | filters on the platform, writable, `::ancestor.user.last_seen_at` |  |
| `user_moderator` | `char` | Usuario moderador | [ ] | filters on the platform, writable, `::ancestor.user.moderator` |  |
| `user_name` | `varchar2` | Nombre de Usuario | [ ] | writable | The JSON text of the nested object. |
| `user_pending_count` | `decimal` | Recuento de usuarios pendientes | [ ] | 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` | Nombre del grupo principal del usuario | [ ] | writable | The JSON text of the nested object. |
| `user_profile_view_count` | `decimal` | Número de vistas al perfil de usuario | [ ] | filters on the platform, writable, `::ancestor.user.profile_view_count` |  |
| `user_title` | `varchar2` | Título de usuario | [ ] | writable | The JSON text of the nested object. |
| `user_trust_level` | `decimal` | Nivel de confianza del usuario | [ ] | filters on the platform, writable, `::ancestor.user.trust_level` |  |
| `user_uploaded_avatar_id` | `varchar2` | ID del avatar subido por el usuario | [ ] | writable | The JSON text of the nested object. |
| `user_username` | `varchar2` | Nombre de Usuario | [ ] | 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. |


## Notas de la Versión

Cambios introducidos en cada versión en las tablas, columnas, atributos y capacidades del controlador:

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

### Modificaciones de esta tabla, De 26.0 a 27.0

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

##### Se ha eliminado la función de tabla «Discourse.Users.Users_User_badgesByUsername».

Una instrucción que dice «Discourse.Users.Users_User_badgesByUsername» falla tras la actualización. Tenía 39 columnas. La operación no figura en la especificación actualizada de Discourse o tiene otro nombre.

<div class="rn-action">

**Qué hacer**

Comprueba las sentencias, Views y scripts que la utilicen antes de la actualización.

</div>

<div class="rn-chips">

- **puede interrumpir una instrucción**
- importancia 5

</div>

</div>

[Todos los cambios del conductor, De 26.0 a 27.0](/es/release-notes/drivers?driver=discourse&step=26.0-to-27.0#discourse-26.0-to-27.0)
