Get the username of the current user
getUsername()

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.

NameTypeDescription
Return valueStringThe username of the current user.
var username = kongregate.services.getUsername();