Frequently Used OIM API's Sample Code :-


9 comments:

  1. Hi Anand

    Your blogs are very nice. it help's lot..

    I have one question, can you tell me if i want to delete the user at that time any prerequisites are there means before deleting the user we needs to remove other things from USR table like wise..

    I am facing error (UserDeleteException) while deleting the user.

    Kindly let me know your thoughts.

    ReplyDelete
    Replies
    1. We can directly delete user through OIM self service UI. I do not think so there is any prerequisites.

      Delete
    2. Hi Anand,

      Its really helpful blog. I was searching for below requirement. I have get many blogs which helps achieving this by using UI but did not get any clear reference using API.Can you please help with this??

      1. Adding newly created UDF (User Defined Field) on create user page under basic information section using OIM API.

      Thanks and Regards,
      Aarti

      Delete
  2. Hi Anand,

    Your blogs are very nice and helpful..

    I have one requirement where i need to change the primary organization under user profile, could you tell me is it possible to change the primary organization through API from user account without deleting/recreating user..

    Thanks in advance.

    ReplyDelete
  3. Hi
    I am unable to add oimclient jar as dependency in jboss server. Getting missing dependency error. I am trying to integrate oim in oracle ATG

    ReplyDelete
  4. What is the code snippet to remove unused SOA composite from OAM ?

    ReplyDelete
  5. Hi Anand,

    Is there any API which can be used to install OIM connector and will create connector artifact ?

    ReplyDelete
  6. I am required to create a Java Script but unable to figure on how to proceed as I don't have that much of coding idea in OIM, can someone assist(below I have mentioned the scenario)

    Scenario:

    In OIM User Attribute Page, there is a User Field: 'Job Code' now we have experienced that there are some issues we are facing.
    From the trusted source we are getting the correct data but as soon as it reaches OIM for few users we are getting random incorrect value. Value should be numbers (123456) which is present in the Database too and valid but for few we are receiving values like E?401@q something like this.
    We are required to place a check to find users who are having these invalid Job Code entry.
    Once detected, we need to trigger a email to the concerned team based on the User Type (Employee or Contractor) for employee it should trigger an email to a respective team and for Contractor we have to trigger to a different team to take action.
    So, I believe we have to place two conditions here, can someone assist.

    ReplyDelete
  7. Hey, how would i get all the users registered in the oim

    ReplyDelete