Programming Guides › Programming Guide for Perl › CLI Policy Management Methods › Session Methods › GetAgentType Method—Retrieves Agent Type
GetAgentType Method—Retrieves Agent Type
The GetAgentType method retrieves the specified agent type.
Syntax
The GetAgentType method has the following format:
Netegrity::PolicyMgtSession‑>GetAgentType(agentTypeName)
Parameters
The GetAgentType method accepts the following parameter:
agentTypeName (string)
Specifies one of the following pre-defined agent types to retrieve:
- 3Com (RADIUS agent)
- Affiliate Agent (SiteMinder Affiliate agent)
- AffiliateMinder (AffiliateMinder agent)
- Ascend (RADIUS agent)
- Bay Networks (RADIUS agent)
- CheckPoint (RADIUS agent)
- Cisco (RADIUS agent)
- EJB Agent (SiteMinder EJB agent)
- Generic RADIUS (RADIUS agent)
- Livingston (RADIUS agent)
- Network Associates Sniffer (RADIUS agent)
- Servlet Agent (SiteMinder Servlet agent)
- Shiva (RADIUS agent)
- TeleBit (RADIUS agent)
- U.S. Robotics (RADIUS agent)
- Web Agent (SiteMinder Web agent)
Return Value
The GetAgentType method returns one of the following values:
- PolicyMgtAgentType object if the call is successful
- undef if the call is unsuccessful or the specified agent type does not exist