Go to the first, previous, next, last section, table of contents.


User Information

Function: user-login-name
This function returns a string containing the login name of the user.

In the Amiga version this is taken from the environment variable USERNAME.

(user-login-name)
    => "jsh"

Function: user-real-name
This function returns a string containing the `real' name of the user; the format of the string will depend on the host system.

In the Amiga version this is taken from the REALNAME environment variable.

(user-real-name)
    => "John Harper"

Function: user-home-directory
This function returns the name of the user's home directory terminated by a slash character (`/').

The first place this is looked for is in the HOME environment variable; if this variable doesn't exist we either use the `SYS:' logical device in AmigaDOS or consult the passwd file when in Unix.

(user-home-directory)
    => "/home/jsh/"


Go to the first, previous, next, last section, table of contents.