<f:security.ifHasRolerole="7"><f:then>
This is being shown in case the current FE user belongs to a
FE usergroup (aka role) with the uid "7"
</f:then><f:else>
This is being displayed in case you do not have the role or
you are not logged in.
</f:else></f:security.ifHasRole>

Role by usergroup title:

<f:security.ifHasRolerole="Administrator"><f:then>
This is being shown in case the current FE user belongs to a
FE usergroup (aka role) with the title "Administrator"
</f:then><f:else>
This is being displayed in case you do not have the role or
you are not logged in.
</f:else></f:security.ifHasRole>