Previous Topic: CreateAttribute Method—Creates a Static Response Attribute for the Response

Next Topic: DeleteAttribute Method—Deletes a Response Attribute in the Response

CreateVariableAttribute Method—Creates a Variable Definition Response Attribute for the Response

The CreateVariableAttribute method creates a Variable Definition response attribute for the response.

Syntax

The CreateVariableAttribute method has the following format:

Netegrity::PolicyMgtResponse‑>CreateVariableAttribute(agentAttrName, name, varObj [, TTL])

Parameters

The CreateVariableAttribute method accepts the following parameters:

agentAttrName (string)

Specifies the name of the Web Agent attribute, for example, WebAgent-HTTP-Header-Variable.

name (string)

Specifies the name of the response attribute.

varObj (PolicyMgtVariable)

Specifies the variable object used in the response attribute.

TTL (int)

(Optional) The amount of time in seconds that can elapse before the value of the response attribute is recalculated.

Return Value

The CreateVariableAttribute method returns one of the following values:

Remarks

You cannot create response attributes of type User Attribute or DN Attribute with the Command Line Interface.

See also the descriptions of the PolicyMgtResponse‑>CreateAttribute method and PolicyMgtResponse‑>CreateActiveAttribute method.


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