Get SteamID in client side

How can i get the steamID on the client side?

Use a server side event to send it back to client?

i know but it’s the only way? i want to do a sync function not an async event