Qore Programming Language Reference Manual  1.12.1
Platform-Independent User and Group Functions

Functions

string Qore::getusername ()
 returns the current username More...
 

Detailed Description

Platform-Independent user and group functions

Function Documentation

◆ getusername()

string Qore::getusername ( )

returns the current username

Restrictions:
Qore::PO_NO_EXTERNAL_INFO
Code Flags:
RET_VALUE_ONLY
Example:
string name = getusername();
string getusername()
returns the current username
Returns
the current username
Since
Qore 0.8.12