Mega Code Archive
Categories
/
Delphi
/
Ide Indy
Get the current Username (Kylix)
Title: get the current Username (Kylix) ? function GetCurrentUser: string; var pwrec: PPasswordRecord; begin pwrec := getpwuid(getuid); Result := pwrec.pw_name; end;