How is it possible to get the name of the visitor group(s) applied to a text fragment?
We are using the visitor groups to show different content based on a users role, and we want to show which visitor groups are shown, i.e: If the text "This is only visible for the publicists" had a visitor group named "Publicists" applied, we would like to show
Publicists: (fancy box around)
This is only visiblie for the publicists
I've found the PersonalizedContentFragment.Internalformat, but it is not a good way to get the data, and with more than 2 visitor groups you only get ... for the rest. But EPiServer have to save this data in some other way too?
After alot of digging in decompiled code it looks like this is the way you guys do it. While not being pretty, it works...