Mathematica 9 is now available

Documentation / Mathematica / Built-in Functions / System Interface / System Parameters /

$UserName

FilledSmallSquare $UserName gives the login name of the user who invoked the Mathematica kernel, as recorded by the operating system.

FilledSmallSquare On Unix and similar operating systems, $UserName is derived from the UID associated with the Mathematica kernel process.

FilledSmallSquare On operating systems where no login name can be found, $UserName is None.

FilledSmallSquare See Section 2.14.5.

FilledSmallSquare See also: $HomeDirectory, Environment, $UserBaseDirectory.

FilledSmallSquare New in Version 3.



Any questions about topics on this page? Click here to get an individual response.Buy NowMore Information
THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT.
SEE THE DOCUMENTATION CENTER FOR THE LATEST INFORMATION.