Hi dspoh,
Try this way
- If LoginName = "" Then
- Dim portal As CuteChat.ChatPortal = CuteChat.ChatSystem.Instance.GetCurrentPortal()
-
- Dim myid As CuteChat.ChatIdentity = New CuteChat.AppChatIdentity("nickname", False, "User:empty", "0.0.0.0")
-
- Dim contacts As CuteChat.IChatUserInfo() = portal.DataManager.GetContacts(myid)
-
- Return contacts
- 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