SearchItem Help

Hi,

I’m new to the wonderful world of XIFF and I’m making some really great progress figuring out how all this fun stuff works.

I’m building a small chat application with openfire and I’m running into a small problem. I need to be able to send a person an invitation to a chat room, but the only information I have about that person is its Nickname. I need to access that persons username in order to build a jid and send an invitation to the room. I was thinking of using the SearchItem class, pass it the Nick and get back that users info, but I’m completely clueless as how that works. I’ve been looking around but can’t seem to find a solid example that I could learn from…

Any help would be greatly appreciated,

Thx… Chris