msys.policyeditor.get_variable
Last updated March 2020
Name
msys.policyeditor.get_variable — Return the value of a script variable
Synopsis
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.
Description
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
Was this page helpful?