This content has been marked as final. Show 6 replies
You can get at the UserManager without passing a reference using:1 person found this helpful
UserManager usrMgr = Platform.getService(UserManager.class);
As he said, you have to use as Platform service to create adapter in OIM.1 person found this helpful
tcUserOperationsIntf service = Platform.getService(Thor.API.Operations.tcUserOperationsIntf.class);
HashMap<String,String> searchmap=new HashMap<String,String>();
searchmap.put("Users.User ID", userID);
thanks for the response. Could you please let me know how to which field Platform service should be map in design console to establish the connection with OIM.
You do not need to map it in the design console for use in your adapters. Just use Platform.getService in your adapter code and it will give you access to the API directly.
Edited by: Karthik Perath on Jan 14, 2013 5:08 AM
Thank You :)