Cisco Cisco Computer Telephony Integration OS 8.5 Developer's Guide
9-25
CTI OS Developer’s Guide for Cisco ICM/IPCC Enterprise & Hosted Editions Release 7.1(1)
Chapter 9 Agent Object
Methods
Dim obSkill As CTIOSClientLib.SkillGroup
Dim arSkills As Variant
Dim lNumElements as Long
arSkills = m_Agent.GetSkillGroups()
lNumElements = UBound(arSkills,1)
For nI = 0 to lNumElements
Set obSkill = arSkills(nI)
Print “SkillGroup” &
obSkill.GetValueString(CStr(“UniqueObjectId”)) & _
“Skill Group Number: “ &
obSkill.GetValueInt(CStr(“SkillGroupNumber”))
Next
End For
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.
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.
AgentMode connection is for an agent and false if it is for a supervisor.