Next: Environment Variables, Previous: System Information, Up: The language [Contents][Index]
These functions are exported by the rep.system module.
This function returns a string containing the login name of the user.
(user-login-name)
⇒ "john"
This function returns a string containing the ‘real’ name of the user; the format of the string will depend on the host system.
If real-name is a string, it defines the name that will be returned by subsequent calls to this function.
(user-full-name)
⇒ "John Harper"
This function returns the home directory of the user whose login name is
user, or the current user if user is undefined. The
returned string will be as returned by file-name-as-directory
(i.e. terminated by a ‘/’ character under UNIX)
(user-home-directory)
⇒ "/home/john/"