User API

Returns information about the logged in user

Functions

id

fn id() -> String<32>

Returns the user ID in a platform aware format. For Steam it returns “steam:steam_user_id”.

persona_name

fn persona_name() -> String<32>

Returns the persona name (nick name, short name) for the platform.