user-name

$Revision: 5.0.2.3 $

Function

Package: SYSTEM

Arguments: nil

Returns a string identifying the user name of the user running Lisp. This function works on all platforms. On UNIX platforms,

(or (sys:getenv "USER") (sys:getenv "LOGNAME"))

is called and the result returned. On Windows, GetUserName() is called.

The behavior on Windows when there is no user name (that is whether nil or the empty string or something else is returned) is undefined since the MS documentation is unclear on this point.

The general documentation description is in introduction.htm. The index is in index.htm.

Copyright (C) 1998-1999, Franz Inc., Berkeley, CA. All Rights Reserved.