${org_names?substring(3)}
#if> <#assign userGroupRoleService = serviceLocator.findService('com.liferay.portal.service.UserGroupRoleLocalService') /> <#assign roles = userGroupRoleService.getUserGroupRoles(user_id) > <#assign role_names = ""> <#if roles?has_content> <#list roles as role> <#assign roleName = role.getRole().getName()> <#if !roleName?matches('.*Owner') > <#assign roleName = roleName?replace('portos_', '')?replace('_',' ')?capitalize> <#if !role_names?contains(roleName) > <#assign role_names = role_names+", ${roleName}"> #if> #if> #list> #if> <#if role_names?has_content>${role_names?substring(2)}
#if>