dspoh: i think i found my answer: if loginname = "" then dim empty(0) as IChatUserInfo return empty end if :) My bad, empty(0) doesn't not return an empty collection, should be like this instead: if loginname = "" then Dim empty(-1) as IChatUserInfo return empty end if