priyasony Posted January 6, 2021 Share Posted January 6, 2021 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. Link to comment Share on other sites More sharing options...
Sam Patrick Posted January 8, 2021 Share Posted January 8, 2021 Developing a strategy in forex trading is very important. If a trader does not develop a strategy, he will not get good results in trading. To bring good results in trading, he has to develop a strategy first. There are many types of strategies in the market and I think technical analysis and fundamental analysis are better. With this strategy, if you trade by maintaining discipline, you can earn a lot from trading. I am trading with Forex4you. They always help me to make money from this market. They provide 24/7 customer support to their clients. They are very supportive. I am very pleased with their services. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now