Previous Topic: RemoveUser Method—Removes a User from the Policy

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

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

The SetResponse method sets the response for a configured rule in the policy.

Syntax

The SetResponse method has the following format:

Netegrity::PolicyMgtPolicy‑>SetResponse(rule, response)

Parameters

The SetResponse method accepts the following parameters:

rule (PolicyMgtRule)

Specifies the rule whose response is being set.

response (PolicyMgtResponse)

Specifies the response to set.

Return Value

The SetResponse method returns one of the following values:


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