I can't find this documented in the plugin sdk manual so I'm hoping somebody with the experience can tell me: how do you get a list of server and/or channel groups a client is a member of?

My plugin currently uses a hotkey to setup a whisper list until the hotkey is released.
I need to now pick a specific server/channel group to whisper to.

Any ideas?