Games Achievements My Kong Sign In

Getting the player's Kongregate user id

You can use the getUserId() function to retrieve the unique user id of the current player. It will return 0 if the user is not signed in.

Please note that to securely authenticate a player, you should use the server-side (JSON) authentication API.

getUserId():Number
var userId:Number = kongregate.services.getUserId();
Developers Players Support YouTube TikTok X (Twitter) LinkedIn
Join the conversation Join Discord
Terms of Service Privacy Policy Code of Conduct
© 2025 Kongregate