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

# PartyInvitation

> Represents an invitation used to authenticate a user into a network.

Represents an invitation used to authenticate a user into a network.

## Syntax

```cpp theme={null}
class PartyInvitation  
```

## Public Methods

| Name                                                                                                                                                        | Description                                                                                                                                                                                                                                                                               |
| ----------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| [GetCreatorEntityId](/services/playfab/multiplayer/networking/reference/classes/PartyInvitation/methods/partyinvitation_getcreatorentityid)                 | Gets the PlayFab Entity ID of the user that created this invitation or nullptr if this invitation was generated as part of a [PartyManager::CreateNewNetwork()](/services/playfab/multiplayer/networking/reference/classes/PartyManager/methods/partymanager_createnewnetwork) operation. |
| [GetInvitationConfiguration](/services/playfab/multiplayer/networking/reference/classes/PartyInvitation/methods/partyinvitation_getinvitationconfiguration) | Gets this invitation's configuration.                                                                                                                                                                                                                                                     |
| [GetCustomContext](/services/playfab/multiplayer/networking/reference/classes/PartyInvitation/methods/partyinvitation_getcustomcontext)                     | Retrieves the app's private, custom pointer-sized context value previously associated with this invitation object.                                                                                                                                                                        |
| [SetCustomContext](/services/playfab/multiplayer/networking/reference/classes/PartyInvitation/methods/partyinvitation_setcustomcontext)                     | Configures an optional, custom pointer-sized context value with this invitation object.                                                                                                                                                                                                   |

## Requirements

**Header:** Party.h

## See also

[Party members](/services/playfab/multiplayer/networking/reference/party_members)\
[PartyManager::CreateNewNetwork](/services/playfab/multiplayer/networking/reference/classes/PartyManager/methods/partymanager_createnewnetwork)\
[PartyNetwork::CreateInvitation](/services/playfab/multiplayer/networking/reference/classes/PartyNetwork/methods/partynetwork_createinvitation)\
[PartyNetwork::AuthenticateLocalUser](/services/playfab/multiplayer/networking/reference/classes/PartyNetwork/methods/partynetwork_authenticatelocaluser)\
[PartyInvitationConfiguration](/services/playfab/multiplayer/networking/reference/structs/partyinvitationconfiguration)


## Related topics

- [PartyInvitation::GetInvitationConfiguration](/services/playfab/multiplayer/networking/reference/classes/PartyInvitation/methods/partyinvitation_getinvitationconfiguration.md)
- [PartyInvitationConfiguration](/services/playfab/multiplayer/networking/reference/structs/partyinvitationconfiguration.md)
- [PartyInvitation::GetCustomContext](/services/playfab/multiplayer/networking/reference/classes/PartyInvitation/methods/partyinvitation_getcustomcontext.md)
- [PartyInvitation::SetCustomContext](/services/playfab/multiplayer/networking/reference/classes/PartyInvitation/methods/partyinvitation_setcustomcontext.md)
- [PartyInvitationRevocability](/services/playfab/multiplayer/networking/reference/enums/partyinvitationrevocability.md)
