Versions Compared

Key

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

This function returns the user name of the user signed into the Profound UI application.

Example:

Code Block
javascript
javascript
var user = currentUser();
if (user != "QSECOFR") { // check if security officer is signed on
  pui.click("btnExit");  // automatically click the exit button
}