Skip to content

Function: user_name() ​

ts
function user_name(this: void): string;

Get operating system active username.

Parameters ​

ParameterType
thisvoid

Returns ​

string

Username string.