Type String Revision Release 2024.3703 Keywords steam, steamworks, getUserInfo, UserInfo, name See also steamworks.getUserInfo() steamworks.*
A string providing the Steam user’s profile name. This is the public name that other Steam users can see.
local steamworks = require( "plugin.steamworks" ) -- Print the currently logged in user's name local userInfo = steamworks.getUserInfo() if ( userInfo ) then print( "User Profile Name: " .. userInfo.name ) end