We have a requirement to allow an anonymous user to read some Account data
I have created a read only entity permission for the Account entity. This has been given to the anonymous user web role
I have an account number. I want the anonymous user to be able to retrieve the account name for the account number.
I've been able to do something similar for an authenticated user using the current user as below (not quite the same as for an anonymous user)
<!-- Get organisation name for current user -->
{% assign account = entities.account[user.parentcustomerid.id] %}
{% assign organisationname = account.name %}
How do I do this for an anonymous user?
Thanks