AddIMIdentity 
 method 
Adds an instant message identity to the site. Each IM identity handles 
 requests for a pool of users.  
Syntax
 
C++
HRESULT 
 AddIMIdenitity( 
   ERUIMNetwork NetworkID, 
  
   BSTR AccountName,  
   BSTR Password,  
   IERUIMIdentity** ppIdentity) 
 
Scripting languages
Object.AddIMIdenitity 
   NetworkID as ERUIMNetwork, 
   AccountName as String, 
   Password as String) |  
 
Parameters
 
NetworkID
The network of the IM identity you are adding..  
AccountName
The IM account name you are adding.  
Password
The password of the IM account name you are adding.  
Return value
 
C++
The return code.  | 
Scripting languages
Upon return, an IERUIMIdentity interface for the IM identity you have 
 added.  |  
  | 
 Home 
 
Applies to 
IERUInstantMessageManager  |