Determine if user is in a group?

Permalink
Has anyone played with determining if a user is in a group or getting a users full group list (CODE WISE)? Can you share? :)


on second thought it appears that User::getUserGroups() returns an array indexed by the group id => groupname .

DavidMIRV