Cisco Cisco Computer Telephony Integration OS 8.5 Guide Du Développeur
![Cisco](https://files.manualsbrain.com/attachments/7380d0050044647c30f5c24bbbf5d0c0b6d9bb84/common/fit/150/50/faa183d287233c52228cfea3dbc2a127fe780f60564fcb0955d9c3d1cd23/brand_logo.png)
9-19
CTI OS Developer’s Guide for Cisco Unified Contact Center Enterprise
Release 8.5(1)
Chapter 9 Agent Object
Methods
IsAgent
The IsAgent method determines whether the AgentMode connection is for an agent rather than a
supervisor.
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.
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.
supervisor.
IsSupervisor
The IsSupervisor method determines whether the AgentMode connection is for a supervisor.
Syntax
C++:
bool IsSupervisor()
COM:
HRESULT IsSupervisor (VARIANT_BOOL * bIsSupervisor)
VB:
IsSupervisor () As Boolean
Java:
boolean IsSupervisorMode()
.NET:
bool IsSupervisor()
Parameters
bIsSupervisor
Output parameter (return parameter in VB) that returns true if the current AgentMode connection is
for a supervisor and false if it is for an agent.
for a supervisor and false if it is for an agent.
Return Values
If the current session is for a supervisor, this method returns true. Otherwise the method returns false.