> ## 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.

# UserClaims (JSON)

> UserClaims (JSON)

# UserClaims (JSON)

Devuelve información sobre el usuario autenticado actual.

## UserClaims

El objeto UserClaims tiene la siguiente especificación.

| Miembro | Tipo | Descripción |
| - | - | - |
| gamertag | string | Gamertag del usuario. |
| xuid | Entero de 64 bits sin signo | El identificador de usuario de XBOX (XUID) del usuario. |

## Ejemplo de sintaxis JSON

```json theme={null}
{
   "xuid" : 2533274790412952,
   "gamertag" : "gamer"

}
    
```

## Consulte también

##### Elemento primario

[Referencia de objetos de notación de objetos JavaScript (JSON)](https://devdocs.xbox.com/es/reference/live/rest/json/atoc-xboxlivews-reference-json)


## Related topics

- [Server-side handling of Xbox services User Privileges](https://devdocs.xbox.com/services/xbox-services/fundamentals/identity/privileges/concepts/live-user-privileges-server.md)
- [Example XSTS Token, decryption, and validation](https://devdocs.xbox.com/services/xbox-services/fundamentals/s2s-auth-calls/service-authentication/security-tokens/live-sample-xsts-token.md)
- [Xbox services security token claims](https://devdocs.xbox.com/services/xbox-services/fundamentals/s2s-auth-calls/service-authentication/security-tokens/live-token-claims.md)
- [Requesting a User Store ID for service-to-service authentication](https://devdocs.xbox.com/publishing/xstore-commerce/xstore-requesting-userstoreid.md)
- [JSON Lua](https://devdocs.xbox.com/zh-CN/services/playfab/sdks/lua/Licenses/json-lua-license.md)
