getUserName()

ICE Data Services -

getUserName()
Previous  Top  Next

getUserName()

Returns the eSignal program username of the user running the script.

Parameters

none
function takes no parameters


Usage
function main() {

   ...
   ...

   if ( isLastBarOnChart() == true ) {
      //clear the Formula Output Window
      debugClear();
      //print a line of text to that window
      debugPrint( "Your eSignal Program Username is: " getUserName() + "\n" );
   }

}