I want to check (from within a program) whether a certain MWS role (configured in MWS via user management) is allowed to see a certain page (specified by its alias). I.e. I’d need a function like this:
boolean hasPermission(String roleName, String pageAlias)
How is it possible to implement it? The function would be executed in MWS (not in IS). Is there some API to accomplish this?
There is a code sample (http://techcommunity.softwareag.com/ecosystem/communities/codesamples/webmethods/caf/SAMPLE-20130313141546300.html), but the code is not much documented and uses some classes which I could not find docs for.
Any advice would be much appreciated.