Your Profile:

Username: {{ user.username }}

Email: {{ user.email }}

Roles: {{ user.roles|map(attribute="name")|join(', ') }}

List of Users:

{% if users|length %} {% for other_user in users %} {% endfor %}
ID Name Email Roles
{{other_user.id}} {{other_user.username}} {{other_user.email}} {{other_user.roles|map(attribute="name")|join(', ')}}
{% endif %}