To replace the hardcoded user name "QPGMR" in this line of script with the name of the current framework user:

     SETVALUE("utxtUserName", "QPGMR");

Select "QPGMR" (including the quotes), right-click and select the Session Control and then User Name option:



The constant "QPGMR" is now replaced with the substitution value for the current Framework user:

     SETVALUE("utxtUserName", objUser.Name);
  • No labels