March 26, 2020 Contributors


msys.policyeditor.get_variable — Return the value of a script variable


msys.policyeditor.get_variable(ctx, vars, params);

ctx: table
vars: table
params: table

**Configuration Change. ** This function is deprecated. You can easily access the value of Lua variables within the Lua policy script.


Return the value of a script variable

The ctx parameter is the context containing objects from the callout, vars is a table containing script variables and params is a table containing parameters to be passed to this routine.

Defined parameters for params are:

  • name the name of the variable to be set value: the value to set it to.

  • value the value to set it to

See Also

msys.policyeditor.set_variable “Using Variables”