How do we get the rights of a user in Sailpoint?
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.
Answers
-
Hi @priya sony
This online Community is specific to the Smartsheet Application and will not be able to help you with questions about Sailpoint. If you have questions about Sailpoint you will want to contact their Customer Support, here.
Please let me know if I've misunderstood your question and if there is something specific and related to Smartsheet that we can help you with. Otherwise, I may remove this question from our site so it does not confuse our other members.
Thank you,
Genevieve
Community Moderator
Join us at Smartsheet ENGAGE 2024 🎉
October 8 - 10, Seattle, WA | Register now -
You can also do this by opening the sailpoint application and Including a line of command in the back end. for the tutorial, you can check the official documentation of the sailpoint training on their website.
I hope it solves your issue.
and one more, As Genevieve said, you can also raise a ticket over there for any assistance.
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 62.6K Get Help
- 370 Global Discussions
- 202 Industry Talk
- 433 Announcements
- 4.5K Ideas & Feature Requests
- 137 Brandfolder
- 129 Just for fun
- 129 Community Job Board
- 447 Show & Tell
- 29 Member Spotlight
- 1 SmartStories
- 281 Events
- 31 Webinars
- 7.3K Forum Archives