The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How do we get the rights of a user in Sailpoint?

priya sony
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
December 4, 2020

I’m trying to write a policy violation in Sailpoint. But I don’t know how to get the rights of the user who is asking a new right. I’ve tried this:

List links1 = null;

IdentityService service = new IdentityService(context);

Application app1 = context.getObjectByName(Application.class, “Autres”);

try { links1 = service.getLinks(identity, app1);

} catch (Exception e) { System.out.println(e.getMessage());

e.printStackTrace();

} List DUList1 = new ArrayList();

if(links1.size() != 0){ Object DUObj = links1.get(0).getAttribute(“DU”);

if(DUObj != null){ if (DUObj instanceof String) DUList1.add((String) DUObj);

else DUList1.addAll((List) DUObj);

} }

It was supposed to return the list of the rights that the user has and the rights that he is asking. But it doesn’t work.

1 comment

Comments for this post are closed

Community moderators have prevented the ability to post new comments.

Daniel Ebers
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Champions.
December 7, 2020

Hi Priya,

welcome to the Atlassian Community!

I am in doubt Community members can help you in detail with that. Most topics that are covered here are for Atlassian products.

The last question for Sailpoint integration was earlier this year in this thread:
https://community.atlassian.com/t5/Marketplace-Apps-Integrations/Sailpoint-IIQ-integration-with-Atlassian-Products/qaq-p/1332808

Regards,
Daniel

TAGS
AUG Leaders

Atlassian Community Events