steamworks.appOwnerSteamId

Type String
Revision 2017.3060
Keywords steam, steamworks, appOwnerSteamId
See also steamworks.userSteamId
steamworks.*

Overview

The unique string ID of the user that purchased the application. This property will typically match the steamworks.userSteamId property unless the purchaser has logged out of the Steam client and has let someone else log in on the same machine.

Gotchas

This will be nil if the steamworks.isLoggedOn property is false, indicating the application is not currently connected to the Steam client.

Example

local steamworks = require( "plugin.steamworks" )

print( "App Owner ID: " .. tostring(steamworks.appOwnerSteamId) )