Get Root of a Group

Hi,

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
    #end

    But i also need the Root Group of each Group.

    Ex:-Root--child1----child2-----child3

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

    for each child root group is Root

Children