Qore Programming Language Reference Manual
1.7.1
Functions
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
();
Qore::getusername
string getusername()
returns the current username
Returns
the current username
Since
Qore 0.8.12