Below is code leveraging the Oracle Java SDK to automate some of the manual scripts required to manage a Cloud tenancy.
These two classes work together to look at a LDAP server, gather org charts, users and user attributes then cross reference the user information inside the Cloud tenancy. Please watch the following video for more information.