policygetenv

Description

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

Not supported in Endpoint Privilege Management for Linux (EPM-L).

Syntax

result = policygetenv (variable);

Arguments

variable

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

Return Values

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, see the following: