<% let childProfiles = currentProfile.getChildProfiles(); %>
<%= currentProfile.getName() %>
<% for ( let ci = 0; ci < childProfiles.length; ci++ ) { %>
 <%= childProfiles[ ci ].name %>
<% } %>