You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

Show Contents List

Framework Objects that Scripts Can Refer To

A number of RAMP provided JavaScript objects make standard information accessible to all scripts. For example the JavaScript object objUser publishes properties Name and Password.
This means that you can access and pass around the name and password of the current user in your scripts like this:
   if (objUser.Name == "QSECOFR") alert("Your are signed on as the security officer!");     
 
Note that these names are CASE SENSITIVE. Be careful to use exactly the same case as shown when writing scripts.

 
To find out how you can quickly enter these objects and their properties in your scripts, see Using the Scripting Pop-up Menu .
Show Contents List

  • No labels