Cisco Cisco Collaboration Server (CS) Developer's Guide

Page of 117
Cisco Collaboration Server Client-side API Guide – Version 5.0 
InvalidAgentEvent 
This event occurs if the user has not provided the correct Login name or Password 
while attempting to login(). 
Arguments: 
invalidUsername
 - Boolean. true indicates that the Login name is 
invalid. false indicates that the password is invalid for the username that was 
provided. 
Example: 
function InvalidAgentEvent(invalidUsername)
 
{
 
if(invalidUsername)
 
alert('Invalid Username!')
 
else
 
alert('Wrong Password!');
 
}
 
  
  
  
74