Hello Manoranjan,
Thank you for writing to us. Please try getMembers()
method which returns a list of members for the specified hierarchy. Read more about this method in documentation or check out how it works on JSFiddle. We would be grateful for your feedback.
Regards,
Tanya