Copyright (C) 2000-2012 |
GNU Info (librep.info)User InformationUser Information ================ These functions are exported by the `rep.system' module. - Function: user-login-name This function returns a string containing the login name of the user. (user-login-name) => "john" - Function: user-full-name #!optional 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. 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" - Function: user-home-directory #!optional user 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/" automatically generated by info2www version 1.2.2.9 |