System.GetUserSteamID
Skip to content
mnscript
string System.GetUserSteamID() 

Description ​

Returns the SteamID for the account logged in to the terminal

Returns ​

string - The logged in user's SteamID

Example ​

msc
using System;
using Console;

string steamid = System.GetUserSteamID();
Console.WriteLine("The logged in user SteamID: "..steamid);