Previous Topic: CLI Agent Response MethodsNext Topic: Server Configuration Method


Response Attribute Methods

GetFlags Method—Retrieves Response Attribute's Flags

The GetFlags method retrieves the response attribute's flags.

Syntax

The GetFlags method has the following format:

Netegrity::AgentResponseAttr‑>GetFlags()

Parameters

The GetFlags method accepts no parameters.

Return Value

The GetFlags method returns the following value:

GetID Method—Retrieves Response Attribute's ID or Agent Command's ID

The GetID method retrieves a response attribute ID or an agent command ID.

Syntax

The GetID method has the following format:

Netegrity::AgentResponseAttr‑>GetID()

Parameters

The GetID method accepts no parameters.

Return Value

The GetID method returns a response attribute ID after AgentResponse‑>GetAttributes is called or an agent command ID after AgentAPI‑>DoManagement is called. In either case, the return value's type is long.

GetName Method—Retrieves Response Attribute's Name

The GetName method retrieves the name of the response attribute.

Syntax

The GetName method has the following format:

Netegrity::AgentResponseAttr‑>GetName()

Parameters

The GetName method accepts no parameters.

Return Value

The GetName method returns the following value:

GetTTL Method—Retrieves Response Attribute's TTL Value

The GetTTL method retrieves the response attribute's Time To Live (TTL) value.

Syntax

The GetTTL method has the following format:

Netegrity::AgentResponseAttr‑>GetTTL()

Parameters

The GetTTL method accepts no parameters.

Return Value

The GetTTL method returns the following value:

GetValue Method—Retrieves Response Attribute's Value

The GetValue method retrieves the response attribute's value.

Syntax

The GetValue method has the following format:

Netegrity::AgentResponseAttr‑>GetValue()

Parameters

The GetValue method accepts no parameters.

Return Value

The GetValue method returns the following value: