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(friends);
arr =
base.GetUserInfo(friendid);
}
return arr;
}