Get Root of a Group


I Need to  get the Root Group Name of a Group.

How can i achieve this.

Parents Reply
  • Hi Michael kelley,

    Actually my requirement is to show group information of each group.

    so am getting the list using widget extensions as below

    #set($pagedListResponse = $core_v2_group.List("%{GroupTypes = 'All', IncludeAllSubGroups ='false' }"))
    #foreach($group in $pagedListResponse)
    $group.Id   $group.Name   $group.ParentGroupId    $group.GroupType  $group.DateCreated

    But i also need the Root Group of each Group.


    here child3  clustergroup is Root(i need to get this)

    for each child root group is Root