Malik_Abdul_8942

OIM Interface to control user administration in One Automation

Discussion created by Malik_Abdul_8942 on Oct 2, 2017
Is there an API for maintaining user objects in One Automation? 

UserGroups would still be maintained in the UI, but third party company is asking if it is possible to have our provisioning team maintain the user objects from an OIM (Oracle Identity Manager) application by calling a One Automation API to add, change, delete USER objects? 

If there is an API available for this, can you provide any instruction on how it would be used for this purpose? 

-You can use UserAssignment API

Class UserAssignment

  • java.lang.Object
    • com.uc4.api.objects.UserAssignment


  • public class UserAssignment extends java.lang.Object
    This class enables the assignment of single users to this User Group.
    • Method Detail

      • memberListIterator

        public java.util.Iterator<UC4UserName> memberListIterator()
        Returns a list of users who are members of this User Group The returned java.util.Iterator cannot be used to remove users.
        Returns:
        Iterator to get a list of user names
      • noMemberListIterator

        public java.util.Iterator<UC4UserName> noMemberListIterator()
        Returns a list of users who are not members of this User Group The returned java.util.Iterator cannot be used to remove users.
        Returns:
        Iterator to get a list of user names
      • getMemberListSize

        public int getMemberListSize()
        Returns:
        Number of Users who are part of this User Group.
      • getNoMemberListSize

        public int getNoMemberListSize()
        Returns:
        Number of Users who are not part of this User Group.
      • addUser

        public boolean addUser(UC4UserName userName)                 throws java.lang.IllegalStateException
        Adds a user to this UserGroup.
        Parameters:
        userName - Name of the user
        Returns:
        true if successful, false if the operation failed
        Throws:
        java.lang.IllegalStateException - when revisioning is set
      • removeUser

        public boolean removeUser(UC4UserName userName)                    throws java.lang.IllegalStateException
        Removes a user from this UserGroup.
        Parameters:
        userName - Name of the user
        Returns:
        true if successful, false if the operation failed
        Throws:
        java.lang.IllegalStateException - when revisioning is set
      • isRevision

        public boolean isRevision()
        Returns the Revision from this UserGroup.
        Returns:
        true/false

Outcomes