On Tue, Dec 2, 2008 at 11:02 PM, Andrea Mauri <[EMAIL PROTECTED]> wrote:
>
> there is a way in order to get the real name of a linux/windows user?
> In order to get the login name (linux) I used:
> Result.Name:= GetEnvironmentVariable('USERNAME');
> if Result.Name = '' then
> Result.Name:= GetEnvironmentVariable('USER');
That is exactly how we have been using it as well - for the last 4
years. No issues so far.
Regards,
- Graeme -
_______________________________________________
fpGUI - a cross-platform Free Pascal GUI toolkit
http://opensoft.homeip.net/fpgui/
_______________________________________________
Lazarus mailing list
[email protected]
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus