Get business roles from organizational roles

Which IIQ version are you inquiring about?

Version 8.3

Share all details related to your problem, including any error messages you may have received.

I am trying to fetch Business role list from Organizational role. Is there a method in SailPoint which can be used to leverage the same ?
Or any other way someone has tried to get the list

Same question for getting the Business Role list from the given IT Role

You can use QueryOptions and adding filter for inheritance.name which can give you bundle details inside the organization , below is the sample example

QueryOptions qo = new QueryOptions();
qo.add(Filter.eq("inheritance.name", "<orgName>"));
Iterator iterator = context.search(Bundle.class, qo);

Thanks @vishal_kejriwal1, this works

How about from the IT Role. Is there a way to get the Business Role

Filter filter = Filter.or(Filter.eq("permits.name", "<it role name>"),Filter.eq("requirements.name", "<it reole name>"));  
  QueryOptions qos = new QueryOptions();
  qos.addFilter(filter);
  Iterator itr = context.search(Bundle.class, qos);
 
1 Like

Perfect, Thanks @HemantSingh

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.