Views:
The action scripts inherit access to specific Java objects. These object properties and methods enable scripts to use and communicate data to the RADIUS Proxy, database, and other quarantine elements. The action object represents an action script and contains dynamic properties defined for the current action. In user-created actions, these properties are defined in the scripts. These objects are treated as Global Objects and cannot be constructed, but are only available to action scripts.
Properties
There are no static properties for the action object. Dynamic properties defined in the action script file are available.
Methods
There are no static action methods available from JavaScript. Dynamic scripts defined in the action script file are available.
Sample usage
var msg = new Email();
msg.from = action.emailFrom;
msg.recipients = action.emailTo;
msg.body = action.userText;
msg.subject = “SMS Quarantine”;
msg.send();