Previous Topic: Resource MethodsNext Topic: Response Attribute Methods


CLI Agent Response Methods

GetAttributes Method—Retrieves List of Available Response Attributes

The GetAttributes method retrieves the list of available response attributes and returns them in an array. Use this method after successful calls to AgentUser‑>Login or AgentUser‑>GetResponse. To identify the types of response attributes in the array, call the AgentResponseAttr‑>GetID method.

Syntax

The GetAttributes method has the following format:

Netegrity::AgentResponse‑>GetAttributes()

Parameters

The GetAttributes method accepts no parameters.

Return Value

The GetAttributes method returns one of the following values:

GetSession Method—Retrieves the Session from the Response

The GetSession method retrieves the session object from the response.

Syntax

The GetSession method has the following format:

Netegrity::AgentResponse‑>GetSession()

Parameters

The GetSession method accepts no parameters.

Return Value

The GetSession method returns one of the following values: