I can programmatically add/remove a user's contact list like below code.

  •  03-28-2009, 12:57 PM

    I can programmatically add/remove a user's contact list like below code.

    Hello,
     
    I can programmatically add/remove a contact like below code. It also update CuteChat User table Buildincontacts column.  
    I've tried :
    CuteChat.ChatIdentity identity =new CuteChat.AppChatIdentity("Adam", false, "User:Adam", Request.UserHostAddress);
    CuteChat.ChatSystem.Instance.GetCurrentPortal().DataManager.AddContact(identity, "User:John");
     
    John has added in Adam's contact list. In CuteChat User table;
    UserId: User:Adam
    Buildincontacts: arr,S-1=9=User:John;
     
    Thank you.
View Complete Thread