Returning usergroup as a string?

Hi, how would i go about returning the usergroup as a string, not using a IsUserGroup()?

This is for ulx specifically.

[editline]2nd March 2013[/editline]

And also, how to get all usergroups?

ply:GetNWString(“usergroup”,"user)

For the all groups I don’t know.