I am developing a custom java application. one of the features is setting the rights for users/usergroups as described in the code example http://devlibrary.businessobjects.com/businessobjectsxir2/en/en/BOE_SDK/boesdk_java_dg_doc/doc/boesdk_java_dg/HowToExamples157.html).
But that code breaks in BO XI 3.1 because IObjectPrincipal is not supported. the intended replacements IExplicitPrincipal and IEffectivePrincipal lacks many features of IObjectPrincipal notably setRole() function.
Please provide me a way to proceed with setting user rights, Preferably code samples