Cisco Cisco Computer Telephony Integration OS 8.5 Developer's Guide

Page of 640
9-25
CTI OS Developer’s Guide for Cisco ICM/IPCC Enterprise & Hosted Editions Release 7.0(0)
 
Chapter 9      Agent Object
Methods
GetValue Methods
See 
 for descriptions of the GetValue, GetValueInt, 
GetValueArray, and GetValueString methods.
IsAgent
The IsAgent method determines whether the AgentMode connection is for an 
agent rather than a supervisor.
Syntax
C++:
bool IsAgent()
COM:
HRESULT IsAgent (VARIANT_BOOL *bIsAgent)
VB:
IsAgent () As Boolean
Java:
boolean IsAgent()
.NET:
bool IsAgent()
Parameters
IsAgent
Output parameter (return parameter in VB) that returns true if the current 
AgentMode connection is for an agent and false if it is for a supervisor.
Return Value
Returns true if the current AgentMode connection is for an agent and false if the 
connection is for a supervisor.
IsSupervisor
The IsSupervisor method determines whether the AgentMode connection is for a 
supervisor.