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

# PartyXblXboxUserIdToPlayFabEntityIdMapping

> Reference for the PartyXblXboxUserIdToPlayFabEntityIdMapping struct that pairs an XBOX Live user ID with its linked PlayFab Party entity ID.

Mapping between an XBOX Live User Id and a PlayFab Entity Id.

## Syntax

```cpp theme={null}
struct PartyXblXboxUserIdToPlayFabEntityIdMapping {  
    uint64_t xboxLiveUserId;  
    PartyString playfabEntityId;  
}  
```

### Members

**`xboxLiveUserId`**   uint64\_t

The XBOX Live User Id.

**`playfabEntityId`**   [PartyString](/services/playfab/multiplayer/networking/reference/typedefs)

The PlayFab Entity Id.

This value may be an empty string in the case where the XBOX Live user does not have a linked PlayFab account. A PlayFab account is automatically created and linked when calling [PartyXblManager::LoginToPlayFab](/services/playfab/multiplayer/networking/xblreference/classes/PartyXblManager/methods/partyxblmanager_logintoplayfab) for the first time. The **LoginWithXbox** API provided by the PlayFab SDK can also be used to link an account.

## Requirements

**Header:** PartyXboxLive.h

## See also

[PartyXboxLive members](/services/playfab/multiplayer/networking/xblreference/partyxboxlive_members)


## Related topics

- [PartyXblGetEntityIdsFromXboxLiveUserIdsCompletedStateChange](/services/playfab/multiplayer/networking/xblreference/structs/partyxblgetentityidsfromxboxliveuseridscompletedstatechange.md)
- [PartyXboxLive C/C++ API overview](/services/playfab/multiplayer/networking/xblreference/partyxboxlive_members.md)
- [XBOX Live helper library for PlayFab Party](/services/playfab/multiplayer/networking/party-xbox-live-guide.md)
- [PartyXblChatUser::GetXboxUserId](/services/playfab/multiplayer/networking/xblreference/classes/PartyXblChatUser/methods/partyxblchatuser_getxboxuserid.md)
- [PartyXblManager::GetEntityIdsFromXboxLiveUserIds](/services/playfab/multiplayer/networking/xblreference/classes/PartyXblManager/methods/partyxblmanager_getentityidsfromxboxliveuserids.md)
