Symantec IGA

 View Only
  • 1.  API to search exiting users in IDM

    Posted May 26, 2020 02:43 AM
    Hi Members


    I need to put some validation code in IDM create User Screen(Admin Task).

    Basically user enters his full name on create user screen. I need to put validation custom code to check if there alrady exists users with same display name then throw an error.

    I can get entered full name via below code
    var a =ScreenContext.getFieldValue("Full Name")   

    But I don't know which API to use to search existing users in IDM on some condition. Full Name in our case.

    Could you please help me with APIs. 


    Regards
    Jaspreet


  • 2.  RE: API to search exiting users in IDM
    Best Answer

    Broadcom Employee
    Posted May 26, 2020 07:49 AM
    Try reviewing the UserProvider interface from the IM javadoc which has the findUserDuplicate method. But I think another approach could be to just use a PX Policy of type=UI to do this type of work in a Data Element and then have a condition with an action to display a message to the screen.