currentUser()
This function returns the user name of the user signed into the Profound UI application.
Example:
var user = currentUser();
if (user != "QSECOFR") { // check if security officer is signed on
pui.click("btnExit"); // automatically click the exit button
}
Some documentation pages have recently moved to a new section: Profound AppDev. If you are having trouble finding specific pages, try the documentation search capability or reach out to our Support team!