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

# User (JSON)

> User (JSON)

Contains user leaderboard data.

## User

The User object has the following specification.

| Member | Type | Description |
| - | - | - |
| gamertag | string | Gamertag of the player (maximum of 15 characters). The client should use this value in the UI when identifying the player. |
| rank | 32-bit signed integer | The rank of the user relative to the user requesting the leaderboard data. |
| rating | string | The user's rating. |
| xuid | 64-bit unsigned integer | The XBOX User ID (XUID) of the user. |

## Sample JSON syntax

```json theme={null}
{ 
   "gamertag":"TrueBlue402",
   "rank":2,
   "rating":"2:19:21.17",
   "xuid":1234567890123456 
}
    
```

## See also

##### Parent

[JavaScript Object Notation (JSON) Object Reference](https://docs.xbox.com/reference/live/rest/json/atoc-xboxlivews-reference-json.md)


## Related topics

- [UserList (JSON)](https://docs.xbox.com/reference/live/rest/json/json-userlist.md)
- [MatchUser.LocalUserJsonAttributesJSON](https://docs.xbox.com/services/playfab/multiplayer/lobby/unity-multiplayer-api-reference/PlayFab.Multiplayer/MatchUser/LocalUserJsonAttributesJSON.md)
- [JavaScript Object Notation (JSON) Object Reference](https://docs.xbox.com/reference/live/rest/json/atoc-xboxlivews-reference-json.md)
- [UserClaims (JSON)](https://docs.xbox.com/reference/live/rest/json/json-userclaims.md)
- [UserSettings (JSON)](https://docs.xbox.com/reference/live/rest/json/json-usersettings.md)
