Previous Topic: SetResponse Method—Sets the Response for a Configured Rule in the Policy

Next Topic: Policy Server Connectivity Methods

VariableExpr Method—Sets, Retrieves, or Removes the Active Expression Associated with the Policy

The VariableExpr method sets, retrieves, or removes the active expression associated with the policy.

Syntax

The VariableExpr method has the following format:

Netegrity::PolicyMgtPolicy‑>VariableExpr([activeExpr] [, vars])

Parameters

The VariableExpr method accepts the following parameters:

activeExpr (string)

(Optional) Specifies the active expression script. An empty string (``'') removes the active expression from the policy.

vars (PolicyMgtVariable array)

(Optional) Specifies a reference to an array of any variables used in the active expression (for example: \@myarray).

Return Value

The VariableExpr method returns one of the following values:


Copyright © 2010 CA. All rights reserved. Email CA about this topic