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

傳回目前已驗證使用者的相關資訊。

<a id="ID4EN" />

## UserClaims

UserClaims 物件具有下列規格。

| 成員 | 類型 | 描述 |
| - | - | - |
| gamertag | string | 使用者的玩家代號。 |
| xuid | 64 位元不帶正負號整數 | 使用者的 XBOX 使用者識別碼 (XUID)。 |

<a id="ID4EZB" />

## 範例 JSON 語法

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

}
    
```

<a id="ID4ECC" />

## 另請參閱

<a id="ID4EEC" />

##### 上層

[JavaScript Object Notation (JSON) 物件參考](/zh-TW/reference/live/rest/json/atoc-xboxlivews-reference-json)


## Related topics

- [Server-side handling of XBOX services User Privileges](/services/xbox-services/fundamentals/identity/privileges/concepts/live-user-privileges-server.md)
- [Example XSTS Token, decryption, and validation](/services/xbox-services/fundamentals/s2s-auth-calls/service-authentication/security-tokens/live-sample-xsts-token.md)
- [XBOX services security token claims](/services/xbox-services/fundamentals/s2s-auth-calls/service-authentication/security-tokens/live-token-claims.md)
- [Request a User Store ID for service-to-service auth](/publishing/xstore-commerce/xstore-requesting-userstoreid.md)
- [Reference XBOX Game Streaming servers in XSTS claims](/build/core-features/common/game-streaming/game-streaming-referencing-xcloud-servers-in-xsts-claims.md)
