Re: Using existing membership information + chat + Allow Anonymous= Error!!!

  •  12-09-2009, 5:27 AM

    Re: Using existing membership information + chat + Allow Anonymous= Error!!!

    Hi dspoh,
     
    Try this way
     
    1. If LoginName = "" Then  
    2.            Dim portal As CuteChat.ChatPortal = CuteChat.ChatSystem.Instance.GetCurrentPortal()   
    3.       
    4.            Dim myid As CuteChat.ChatIdentity = New CuteChat.AppChatIdentity("nickname"False"User:empty""0.0.0.0")   
    5.           
    6.            Dim contacts As CuteChat.IChatUserInfo() = portal.DataManager.GetContacts(myid)   
    7.           
    8.            Return contacts   
    9.        End If  
     
    This code will return an empty IChatUserInfo.
     
    "User:empty" is not a real user, you can easily use a name (any name).
     
    Regards,
     
    ken
View Complete Thread