Re: manage messenger contact list from database

  •  06-06-2008, 10:20 AM

    Re: manage messenger contact list from database

    ok I think I have found out how to do this
     

    public override IChatUserInfo[] GetContacts(ChatIdentity identity)

    {

    string myname = ChatProvider.Instance.FromUserId(identity.UniqueId);

    string[] friends = new string[] { "mark", "geoff", "peter" };

    IChatUserInfo[] arr = new IChatUserInfo[friends.Length];

    for (int i = 0; i < friends.Length; i++)

    {

    string friendid = ChatProvider.Instance.ToUserId(friendsIdea);

    arrIdea = base.GetUserInfo(friendid);

    }

    return arr;

    }

View Complete Thread