> ## Documentation Index
> Fetch the complete documentation index at: https://devdocs.xbox.com/llms.txt
> Use this file to discover all available pages before exploring further.

# XblUserProfile

> XblUserProfile

# XblUserProfile

Representa el perfil de XBOX Live de un usuario.

## Sintaxis

```cpp theme={null}
typedef struct XblUserProfile {  
    uint64_t xboxUserId;  
    char appDisplayName[XBL_DISPLAY_NAME_CHAR_SIZE];  
    char appDisplayPictureResizeUri[XBL_DISPLAY_PIC_URL_RAW_CHAR_SIZE];  
    char gameDisplayName[XBL_DISPLAY_NAME_CHAR_SIZE];  
    char gameDisplayPictureResizeUri[XBL_DISPLAY_PIC_URL_RAW_CHAR_SIZE];  
    char gamerscore[XBL_GAMERSCORE_CHAR_SIZE];  
    char gamertag[XBL_GAMERTAG_CHAR_SIZE];  
    char modernGamertag[XBL_MODERN_GAMERTAG_CHAR_SIZE];  
    char modernGamertagSuffix[XBL_MODERN_GAMERTAG_SUFFIX_CHAR_SIZE];  
    char uniqueModernGamertag[XBL_UNIQUE_MODERN_GAMERTAG_CHAR_SIZE];  
} XblUserProfile  
```

### Miembros

*xboxUserId*\
Tipo: uint64\_t

El identificador de usuario de XBOX del usuario.

*appDisplayName*\
Tipo: char\[XBL\_DISPLAY\_NAME\_CHAR\_SIZE]

El nombre para mostrar del usuario codificado en UTF-8 que se usará en la interfaz de usuario de la aplicación. Siempre será el gamertag del usuario e idéntico al campo gameDisplayName.

*appDisplayPictureResizeUri*\
Tipo: char\[XBL\_DISPLAY\_PIC\_URL\_RAW\_CHAR\_SIZE]

Uri codificado en UTF-8 de la imagen de jugador del usuario. Siempre será idéntico al campo gameDisplayPictureResizeUri. El Uri es un Uri redimensionable. Se puede usar para especificar uno de los siguientes tamaños y formatos anexando '\&format={format}\&w={width}\&h={height}:<br /> Formato: png<br /> Ancho Alto<br /> 64 64<br /> 208 208<br /> 424 424<br />

*gameDisplayName*\
Tipo: char\[XBL\_DISPLAY\_NAME\_CHAR\_SIZE]

El nombre para mostrar del usuario codificado en UTF-8 que se usará en la interfaz de usuario de la aplicación. Siempre será el gamertag del usuario e idéntico al campo appDisplayName.

*gameDisplayPictureResizeUri*\
Tipo: char\[XBL\_DISPLAY\_PIC\_URL\_RAW\_CHAR\_SIZE]

Uri codificado en UTF-8 de la imagen de jugador del usuario. Siempre será idéntico al campo appDisplayPictureResizeUri. El Uri es un Uri redimensionable. Se puede usar para especificar uno de los siguientes tamaños y formatos anexando '\&format={format}\&w={width}\&h={height}:<br /> Formato: png<br /> Ancho Alto<br /> 64 64<br /> 208 208<br /> 424 424<br />

*gamerscore*\
Tipo: char\[XBL\_GAMERSCORE\_CHAR\_SIZE]

El gamerscore del usuario codificado en UTF-8.

*gamertag*\
Tipo: char\[XBL\_GAMERTAG\_CHAR\_SIZE]

El gamertag clásico del usuario codificado en UTF-8. Este campo solo usa caracteres ASCII y no incluye sufijo.

*modernGamertag*\
Tipo: char\[XBL\_MODERN\_GAMERTAG\_CHAR\_SIZE]

El gamertag moderno del usuario codificado en UTF-8. Este campo usa intervalos específicos de caracteres UTF-8 y no incluye sufijo. No se garantiza que sea único.

*modernGamertagSuffix*\
Tipo: char\[XBL\_MODERN\_GAMERTAG\_SUFFIX\_CHAR\_SIZE]

El sufijo numérico codificado en UTF-8 que se anexa al gamertag moderno para garantizar la unicidad. Puede estar vacío en algunos casos.

*uniqueModernGamertag*\
Tipo: char\[XBL\_UNIQUE\_MODERN\_GAMERTAG\_CHAR\_SIZE]

El gamertag moderno único y el sufijo numérico codificados en UTF-8. El formato será "modernGamertag#suffix". Se garantiza que no supera los 16 caracteres representados.

## Argumento de

[XblProfileGetUserProfileResult](/reference/live/xsapi-c/profile_c/functions/xblprofilegetuserprofileresult)\
[XblProfileGetUserProfilesResult](/reference/live/xsapi-c/profile_c/functions/xblprofilegetuserprofilesresult)\
[XblProfileGetUserProfilesForSocialGroupResult](/reference/live/xsapi-c/profile_c/functions/xblprofilegetuserprofilesforsocialgroupresult)

## Requisitos

**Encabezado:** profile\_c.h

## Consulte también

[profile\_c](/reference/live/xsapi-c/profile_c/profile_c_members)


## Related topics

- [XblProfileGetUserProfileResult](/es/reference/live/xsapi-c/profile_c/functions/xblprofilegetuserprofileresult.md)
- [XblProfileGetUserProfilesResult](/es/reference/live/xsapi-c/profile_c/functions/xblprofilegetuserprofilesresult.md)
- [XblProfileGetUserProfilesForSocialGroupResult](/es/reference/live/xsapi-c/profile_c/functions/xblprofilegetuserprofilesforsocialgroupresult.md)
- [Procedimientos recomendados y pruebas para gamertags modernos](/es/services/xbox-services/fundamentals/identity/user-profile/gamertags/live-modern-gamertags-best-practices-and-testing.md)
- [XblProfileGetUserProfileAsync](/es/reference/live/xsapi-c/profile_c/functions/xblprofilegetuserprofileasync.md)
