I am currently getting a list of groups a user is a member of using the following code:
SPUser user = SPContext.Current.Web.CurrentUser;
var groupNames = (from SPGroup userGroup in user.Groups select userGroup.Name).ToList();
What I now need to do, is itterate through each SPGroup returning any child groups. Does anyone know how I can achieve this?
Regards