object.name

Type String
Revision Release 2024.3703
Keywords steam, steamworks, getUserInfo, UserInfo, name
See also steamworks.getUserInfo()
steamworks.*

Overview

A string providing the Steam user's profile name. This is the public name that other Steam users can see.

Example

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