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

# Real-time messages for Lobby and Matchmaking APIs

> Lobby members

```csharp theme={null}
public class Lobby
```

## Public Members

| name | description |
| - | - |
| [AccessPolicy](https://docs.xbox.com/services/playfab/multiplayer/lobby/unity-multiplayer-api-reference/PlayFab.Multiplayer/Lobby/AccessPolicy.md) \{ get; } | Gets the access policy of the lobby. |
| [ConnectionString](https://docs.xbox.com/services/playfab/multiplayer/lobby/unity-multiplayer-api-reference/PlayFab.Multiplayer/Lobby/ConnectionString.md) \{ get; } | Gets the default connection string associated with the lobby. |
| [Context](https://docs.xbox.com/services/playfab/multiplayer/lobby/unity-multiplayer-api-reference/PlayFab.Multiplayer/Lobby/Context.md) \{ get; set; } | The custom context of the lobby. |
| [Id](https://docs.xbox.com/services/playfab/multiplayer/lobby/unity-multiplayer-api-reference/PlayFab.Multiplayer/Lobby/Id.md) \{ get; } | Gets the ID of the Lobby. |
| [MaxMemberCount](https://docs.xbox.com/services/playfab/multiplayer/lobby/unity-multiplayer-api-reference/PlayFab.Multiplayer/Lobby/MaxMemberCount.md) \{ get; } | Gets the max member count of the lobby. |
| [MembershipLock](https://docs.xbox.com/services/playfab/multiplayer/lobby/unity-multiplayer-api-reference/PlayFab.Multiplayer/Lobby/MembershipLock.md) \{ get; } | Gets whether the lobby's membership is locked. |
| [OwnerMigrationPolicy](https://docs.xbox.com/services/playfab/multiplayer/lobby/unity-multiplayer-api-reference/PlayFab.Multiplayer/Lobby/OwnerMigrationPolicy.md) \{ get; } | Gets the owner migration policy of the lobby. |
| [AddMember](https://docs.xbox.com/services/playfab/multiplayer/lobby/unity-multiplayer-api-reference/PlayFab.Multiplayer/Lobby/AddMember.md)(…) | Add a local user as a member to the lobby. (two methods) |
| [ForceRemoveMember](https://docs.xbox.com/services/playfab/multiplayer/lobby/unity-multiplayer-api-reference/PlayFab.Multiplayer/Lobby/ForceRemoveMember.md)(…) | Forcibly remove an entity from the lobby. |
| [GetLobbyProperties](https://docs.xbox.com/services/playfab/multiplayer/lobby/unity-multiplayer-api-reference/PlayFab.Multiplayer/Lobby/GetLobbyProperties.md)() | Get the dictionary of lobby property keys and values |
| [GetMemberConnectionStatus](https://docs.xbox.com/services/playfab/multiplayer/lobby/unity-multiplayer-api-reference/PlayFab.Multiplayer/Lobby/GetMemberConnectionStatus.md)(…) | Determines a member's connection status to the notification service. |
| [GetMemberProperties](https://docs.xbox.com/services/playfab/multiplayer/lobby/unity-multiplayer-api-reference/PlayFab.Multiplayer/Lobby/GetMemberProperties.md)(…) | Get the dictionary of member property keys and values for a specific member |
| [GetMembers](https://docs.xbox.com/services/playfab/multiplayer/lobby/unity-multiplayer-api-reference/PlayFab.Multiplayer/Lobby/GetMembers.md)() | Gets the list of PlayFab entities currently joined to the lobby as members. |
| [GetSearchProperties](https://docs.xbox.com/services/playfab/multiplayer/lobby/unity-multiplayer-api-reference/PlayFab.Multiplayer/Lobby/GetSearchProperties.md)() | Get the dictionary of search property keys and values |
| [Leave](https://docs.xbox.com/services/playfab/multiplayer/lobby/unity-multiplayer-api-reference/PlayFab.Multiplayer/Lobby/Leave.md)(…) | Request one local user to leave the lobby. (two methods) |
| [LeaveAllLocalUsers](https://docs.xbox.com/services/playfab/multiplayer/lobby/unity-multiplayer-api-reference/PlayFab.Multiplayer/Lobby/LeaveAllLocalUsers.md)() | Request all local users to leave the lobby. |
| [PostUpdate](https://docs.xbox.com/services/playfab/multiplayer/lobby/unity-multiplayer-api-reference/PlayFab.Multiplayer/Lobby/PostUpdate.md)(…) | Post an update to the lobby. (six methods) |
| [SendInvite](https://docs.xbox.com/services/playfab/multiplayer/lobby/unity-multiplayer-api-reference/PlayFab.Multiplayer/Lobby/SendInvite.md)(…) | Send an invite to this lobby from the local user to the invited entity. (two methods) |
| [ServerDeleteLobby](https://docs.xbox.com/services/playfab/multiplayer/lobby/unity-multiplayer-api-reference/PlayFab.Multiplayer/Lobby/ServerDeleteLobby.md)() | Delete a lobby on behalf of the game\_server entity that owns the lobby. |
| [ServerPostUpdate](https://docs.xbox.com/services/playfab/multiplayer/lobby/unity-multiplayer-api-reference/PlayFab.Multiplayer/Lobby/ServerPostUpdate.md)(…) | Post an update to the lobby as the server-owner. |
| [TryGetOwner](https://docs.xbox.com/services/playfab/multiplayer/lobby/unity-multiplayer-api-reference/PlayFab.Multiplayer/Lobby/TryGetOwner.md)(…) | Tries to get the current owner of the lobby. Returns false and sets owner to null if there is no owner on this Lobby |

## See Also

* namespace [PlayFab.Multiplayer](https://docs.xbox.com/services/playfab/multiplayer/lobby/unity-multiplayer-api-reference.md)

\<!-- DO NOT EDIT: generated by xmldocmd for PlayFabMultiplayerSDK.dll -->


## Related topics

- [Real-time messages for Lobby and Matchmaking APIs](https://docs.xbox.com/services/playfab/multiplayer/real-time-messages/overview.md)
