Send "ID" string upon server connection

How can I send a unique ID which I generate to my dedicated server, upon connection? Like there’s no way to pass to my game server from my client side?