Mathematica 9 is now available
THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT.
SEE THE DOCUMENTATION CENTER FOR THE LATEST INFORMATION.
Mathematica > Systems Interfaces & Deployment > Mathematica System Setup > System Information > $UserName >

$UserName

$UserName
gives the login name of the user who invoked the Mathematica kernel, as recorded by the operating system.
  • On Unix and similar operating systems, $UserName is derived from the UID associated with the Mathematica kernel process.
  • On operating systems where no login name can be found, $UserName is None.
New in 3
Ask a question about this page  |  Suggest an improvement  |  Leave a message for the team
Format:   HTML  |  CDF