Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • If the NodeRun workspace is called from IBM i using the NODERUN command, then the IBM i user name is returned. 
  • If used in a Profound.js instance that is configured to access Connector APIs on a remote IBM i instance, then the IBM i user name is returned. 
  • If the Profound.js instance is running on IBM i and the module is run using profoundjs.express(), then the user name will not be available until after the first API call that accesses IBM i data/objects due to delayed log in.

...


Code Block
languagejavascript
var user = pjs.getUser();