This function returns the user name of the user signed into the Profound UI application.
Example:
Code Block | ||||
---|---|---|---|---|
| ||||
var user = currentUser(); if (user != "QSECOFR") { // check if security officer is signed on pui.click("btnExit"); // automatically click the exit button } |