On Mon, 24 Apr 2006, johnf wrote:

Hi,
How do I find the username?  Getusername does not exist.  On Linux.

fpGetUID (baseunix or unix unit) gives you the user ID.
You can then use getpwnam() from Libc to get the username, or
scan /etc/passwd.

Michael.

_________________________________________________________________
    To unsubscribe: mail [EMAIL PROTECTED] with
               "unsubscribe" as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives

Reply via email to