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