Cisco Cisco Computer Telephony Integration Option 8.5 Developer's Guide

Page of 546
 
9-25
Cisco ICM Software CTI OS Developer’s Guide Release 6.0(0)
 
Chapter 9      Agent Object
Methods
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.
Return Values
If the current session is in supervisor mode it returns true, otherwise it returns 
false.
Login
The Login method performs a login to the ACD (if supported). Generally, the 
minimum parameters required to log into an ACD are AgentID and 
AgentInstrument. Often, based on customer configuration, the minimum 
requirements include an ACD password (AgentPassword). Some switches require 
PositionID in place of (or in addition to) AgentInstrument. Optional arguments 
include Extension or AgentWorkMode.
Syntax
C++:
virtual int Login(Arguments & args);
COM:
HRESULT Login  ( /*[in]*/ IArguments * pVariantArgs, /*[out]*/ 
int * errorcode );
VB:
Login (args As CTIOSCLIENTLib.IArguments) As Long
Java:
int Login(Arguments args) 
Input Parameters
args
Arguments array that contains the login parameters listed in 
.