Retrieve the role that is assigned to Anonymous users in Microflow or Java action
0
For a generic module, being used in multiple applications, we need to know which role is assigned to Anonymous users. In every app this role might have a different name (anonymous, anoniem, anoniemegebruiker, anonymoususer, etc.), so we can not rely on a Xpath constraint like [Name = 'anonymous'] Is it possible to retrieve the role that is assigned to anonymous users (Security - Anonymous Users - Anonymous user role) in a Microflow or a Java action? And is it possible to determine in a Microflow or Java action if the Allow anonymous users is set to Yes?
asked
Edwin van Elk
1 answers
1
I'm still testing, but it seems like these two functions in Core.getConfiguration() might be what I was looking for: