Hi Panu,
The code is very complex and goes over several databases.
But what I would like to do is:
I have a document where there is a rendering formula defined in one of the fields.
The formula is:
context.getUser().getRoles().contains("[Admin]")
On a Xpage I have a navigator, where the rendering should come from that document.
That is in a simple way what I want to achieve.
Thanks for helping me on this one.
Robert Lardenoije