Get vertex groups with mouse picking


in the following tutorial is described how mouse picking is used.

I have tried it and it is working great, but now I have a question:

Is it possible to detect which group of vertexes I have clicked on my model? The best would be if I can get the vertex groups defined in my blender model(imported with ogre importer). Is this possible? If it is, how could I achieve it?