package com.massiveGaze.users; import com.massiveGaze.connection.Platform; import java.util.HashMap; import oracle.iam.identity.exception.NoSuchUserException; import oracle.iam.identity.exception.SearchKeyNotUniqueException; import oracle.iam.identity.exception.UserModifyException; import oracle.iam.identity.exception.ValidationFailedException; import oracle.iam.identity.usermgmt.api.UserManager; import oracle.iam.identity.usermgmt.vo.User; import oracle.iam.identity.utils.Constants; import oracle.iam.platform.authz.exception.AccessDeniedException; public class ModifyUserDetails { public static void main(String[] args) { modify(); } public static void modify(){ UserManager userManager = (UserManager) Platform.getService(UserManager.class); HashMap<String, Object> modifyAttributes=null; long MANAGERKEY = 28; for(int i=15;i <20;i++){ modifyAttributes = new HashMap<String, Object>(); modifyAttributes.put(Constants.MANAGERKEY,MANAGERKEY); User user= new User("TUSER_Manager" + i,modifyAttributes); try { userManager.modify("User Login", "TUSER_Manager" + i, user); } catch (ValidationFailedException e) { // TODO Auto-generated catch block e.printStackTrace(); } catch (UserModifyException e) { // TODO Auto-generated catch block e.printStackTrace(); } catch (NoSuchUserException e) { // TODO Auto-generated catch block e.printStackTrace(); } catch (SearchKeyNotUniqueException e) { // TODO Auto-generated catch block e.printStackTrace(); } catch (AccessDeniedException e) { // TODO Auto-generated catch block e.printStackTrace(); } } } }
Oracle Identity Manager (OIM R2PS2/PS3/12C) is a highly flexible and scalable enterprise identity administration system that provides operational and business efficiency by providing centralized administration & complete automation of identity and user provisioning events across enterprise as well as extranet applications.
OIM API To Modify User Details
Subscribe to:
Posts (Atom)
About OIM
Oracle Identity Management enables organizations to effectively manage the end - to - end life - cycle of user ide...
Popular Posts
-
OIM API's Sample Code : Videos: Massive Gaze Videos Connection Related API's : OIM DB Connection/ Data Source connection ...
-
Videos: Massive Gaze Videos 1. Basic OIM Information 2. MDS Export/Import 3. Steps For R2PS2 / R2PS3 Custom Pre-processor Ev...
-
Videos: Massive Gaze Videos 1. Query to get OIM Provsioned/provisioning Account details 2. Query to get usr keys For Rejected / ...
No comments:
Post a Comment