Retrieving player Id & Name from Session

Hi guys! So I’m trying to build the lobby you see in the attached picture. I’m using the Session interface. I have the following questions if any kind soul would like to point me in the right direction:

  1. After hosting a session, is there a way to retrieve the info that you are the host from the session itself WITHOUT having to keep state yourself somewhere that you are the host?
  2. When joining a session, how do you recognize the host and yourself from the player array found in the Game State? I’m trying to use the FUniqueNetId but where the hell is it inside the session? Should I rely on the player name instead? It looks too fragile.

Thank you!

// Get the session that you are in
FNamedOnlineSession* MySession = SessionInterface->GetNamedSession(SessionName);

// Host's unique id. Make all clients compare their own id against this.
MySession->OwningUserId;

// I set this bool to true before opening a listen server for the session.
MySession->bHosting;