Identify player that is reconnecting

I am making a multiplayer.
When a player disconnects during the play session, I keep some stuff about him as his name and other informations in a GameObject… When he reconnects I’d like to reassign the NetworkPlayer to the GameObject.

I was trying to use the NetworkPlayer equality comparator but it doesn’t work. The guid has changed aswell.

I think it’s possible because you can avoid new connections using Network.maxConnections = -1. So Unity does know the player was connected before.
Is there any way to get this information too?

I solved it by copying externalIP and ipAdress and check those values during a reconnection. But I’m still looking for better ways to do it.