Policy Environment Functions and Procedures

Policy environment functions and procedures are used to get, set, and unset the values of environment variables on the policy server host during the run of a policy. The following table summarizes these functions and procedures.

Function/ Procedure Description
getlistsetting()

Returns the value of a list setting in the current policy server host settings file.

Version 4.0 and earlier: function not available .

Version 5.0 and later: function available.

getnumericsetting()

Returns the value of a numeric setting in the current policy server host settings file.

Version 4.0 and earlier: function not available.

Version 5.0 and later: function available.

getstringsetting()

Returns the value of a string setting in the current policy server host settings file.

Version 4.0 and earlier: function not available.

Version 5.0 and later: function available.

getyesnosetting()

Returns the value of a yes/no setting in the current policy server host settings file.

Version 4.0 and earlier: function not available.

Version 5.0 and later: function available.

policygetenv() Sets the value of a local variable to that of an environment variable on the policy server host.
policysetenv Enables the user to locally set an environment variable on the policy server host.
policyunsetenv Used to locally unset the value of an environment variable on the policy server host.