Hi Team,
We have requirement to get list of Uncorrelated accounts from a specific source in Attribute Generator cloud rule.
We wanted to add filters to the query options and query on Account table.
QueryOptions qoLink = new QueryOptions();
qoLink.addFilter(Filter.and(Filter.eq("application.name","HR [source]"),Filter.eq("uncorrleated",true)));
qoLink.setDistinct(true);
List accounts = context.getObjects(Account.class,qoLink);
I’m not sure the above code returns the list of uncorrelated accounts.
Can someone help me on this.
Thanks,
Rajesh
Sailpoint creates the identity for uncorrelated accounts. Please try the below one
QueryOptions qoLink = new QueryOptions();
qoLink.addFilter(Filter.and(Filter.eq("links.application.name","HR [source]"),Filter.eq("correlated",false)));
qoLink.setDistinct(true);
List identities = context.getObjects(Identity.class,qoLink);
Thank you @ankush-shirbhate for the response.
We don’t see Identities for uncorrelated accounts in IDN UI. Does the above code helps us to get uncorrelated accounts information.
Thanks
Hi @Rajesh_Thota1 , You can get on uncorrelated account at the source level and do a search query.
Hi Team,
I found the alternate solution. Using idn.accountExistsByNativeIdentity(“HR [source]”, “nativeIdentity”); we can verify account Exists in source whether account is correlated or not based on native identity.
When i generate upn or samaccountname, I’m using above method, if that exists, we are appending number at the end.
Thanks
Rajesh
system
(system)
Closed
November 17, 2024, 3:49pm
6
This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.