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

# XblMultiplayerSessionRestriction

> XblMultiplayerSessionRestriction

Defines values that indicate restrictions on the users who can join a session.

## Syntax

```cpp theme={null}
enum class XblMultiplayerSessionRestriction  : uint32_t  
{  
    Unknown,  
    None,  
    Local,  
    Followed  
}  
```

## Constants

| Constant | Description |
| - | - |
| Unknown | Unknown restriction type. |
| None | No restrictions. |
| Local | Only players whose token `DeviceId` values match the `DeviceId` of a player who is already in the session and active. |
| Followed | Only local players (as defined for `Local`) and players who are followed by an existing (not reserved) member of the session can join without a reservation. |

## Requirements

**Header:** multiplayer\_c.h

## See also

[multiplayer\_c](https://docs.xbox.com/reference/live/xsapi-c/multiplayer_c/multiplayer_c_members.md)


## Related topics

- [XblMultiplayerSessionPropertiesSetJoinRestriction](https://docs.xbox.com/reference/live/xsapi-c/multiplayer_c/functions/xblmultiplayersessionpropertiessetjoinrestriction.md)
- [XblMultiplayerSessionPropertiesSetReadRestriction](https://docs.xbox.com/reference/live/xsapi-c/multiplayer_c/functions/xblmultiplayersessionpropertiessetreadrestriction.md)
- [XblMultiplayerSearchHandleGetJoinRestriction](https://docs.xbox.com/reference/live/xsapi-c/multiplayer_c/functions/xblmultiplayersearchhandlegetjoinrestriction.md)
- [XblMultiplayerSessionQueryResult](https://docs.xbox.com/reference/live/xsapi-c/multiplayer_c/structs/xblmultiplayersessionqueryresult.md)
- [XblMultiplayerSessionProperties](https://docs.xbox.com/reference/live/xsapi-c/multiplayer_c/structs/xblmultiplayersessionproperties.md)
