policygetenv

The policygetenv() function sets the value of a local variable to that of an environment variable on the policy server.

result = policygetenv (variable);
variable

Required. The environment variable on the policy server host that is used to set the value of the local variable.

The value of the specified environment variable.

termtype = policygetenv("TERM");

In this example, the local variable termtype is set equal to the TERM variable on the policy server.

For more information, please see the following: