Kongregate Developers

Getting the player's Kongregate username

You can use the getUsername() function to retrieve the username of the current player. It will begin with Guest if the user is not signed in.

getUsername():String
var username:String = kongregate.services.getUsername();

Comments