How get Current Linux User lazarus / 9-Editor ---------------------------------------------------------------------- Fortuna1 · 2007-10-29 04:12 Kylix  function is GetCurrentUser(), but dont found  in lazarus. Thanks. ---------------------------------------------------------------------- antonio · 2007-10-29 15:08 AFAIK, if you have the Kylix source for this function, you could implement it by yourself, with modifications to make it cross- platform. You could try it, and then submit a patch on the BugTracker. ---------------------------------------------------------------------- Vincent Snijders · 2007-10-29 15:40 What about GetEnvironmentVariabele('USER'); ---------------------------------------------------------------------- Fortuna1 · 2007-10-29 16:17 Quote from: "Vincent"What about GetEnvironmentVariable('USER'); Code: [Select] procedure TForm1.Button2Click(Sender: TObject); var ii:integer; begin for ii:=0  to 80    do   begin   SHOWMESSAGE(inttostr(II) +' '+ SysUtils.GetEnvironmentString(ii));   end; end; Thanks.