What is the property or method needed to get user group information?

tridion, tridion-2011

Solution

Updated code with information from Arjen

UserData user = (UserData)csClient.Read(usertcmid, readoption);
user.GroupMemberships() // returns GroupMembershipData enumeration

Problem

After creating the new user object, how to get the group name of the particular user? Which property do I have to use? I have checked the `userdata` class, I didn't find any groupd details in there. ``` UserData user = (UserData)csClient.Read(usertcmid, readoption); ```

Original source