It's all about IAM

Add Role to Request Template Using OIM 11g APIs

RequestTemplateService requestTemplateService = RequestTemplateService requestTemplateService = oimClient.getService(RequestTemplateService.class);
List roleList = new ArrayList() ;
roleList .add("241"); // 241 is the Group Key
Long requestTemplateKey = 67L; // 67 is the Request Template Key
requestTemplateService.grantTemplateToRoles(requestTemplateKey , roleList );


No comments:

Post a Comment