Previous Topic: ActiveExpr Method—Sets or Retrieves the Active Expression Associated with the Policy

Next Topic: AddUser Method—Adds a User to the Policy

AddRule Method—Adds a Rule to the Policy

The AddRule method adds a rule to the policy.

Syntax

The AddRule method has the following format:

Netegrity::PolicyMgtPolicy‑>AddRule(rule)

Parameters

The AddRule method accepts the following parameter:

rule (PolicyMgtRule)

Specifies the rule to add.

Return Value

The AddRule method returns one of the following values:


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