Sample SQL query 1
This SQL query illustrates how to add a new entry to the table named SQLConnTest1 in Oracle Database to which you want to provision data from another connected system.
Table 25: Add a new entry to the SQLConnTest1 table
Database table structure |
Sample query |
CREATE TABLE "SQLConnTest1"("Id" number,"attr1" nchar(64), "attr2" nchar(64)) |
Insert into SQLConnTest1(attr1) values(:attr1) returning Id into :Id |
In this sample query, Id stands for the attribute that uniquely identifies each object in Oracle Database.
Sample SQLl query 2
This SQL query illustrates how to create a new user in Oracle Database:
call dbms_utility.exec_ddl_statement('CREATE USER ' || :USERNAME || ' IDENTIFIED BY ' || :newPassword)
In this sample query:
-
USERNAME refers to the name of the attribute that uniquely identifies a user in Oracle Database.
-
newPassword refers to the name of the attribute that will store the initial password you want to set for the Oracle Database user being created.
Working with Oracle Database user accounts
This section describes how to create or modify a connection to Oracle Database user accounts so that could work with Oracle Database user accounts data in that data system. This section also describes what data you can read and/or write in Oracle Database user accounts by using .
To create a connection to Oracle Database user accounts and work with the user accounts in that data system, you need to use in conjunction with a special connector called Oracle Database User Account Connector. This connector is included in the .
The Oracle Database User Accounts Connector supports the following features:
Table 26: Supported features
Bidirectional synchronization
Allows you to read and write data in the connected data system. |
Yes |
Delta processing mode
Allows you to more quickly synchronize identity data by processing only the data that has changed in the source and target systems since their last synchronization. |
No |
Password synchronization
Allows you to synchronize user passwords from an Active Directory domain to the connected data system. |
Yes
Password synchronization is only supported for user accounts that are authenticated entirely by Oracle Database. The Oracle Database User Accounts Connector does not support password synchronization for Oracle Database user accounts that use external or global authentication in Oracle terms. |
In this section:
Creating an Oracle Database user accounts connection
To create a new connection
-
In the Synchronization Service Administration Console, open the Connections tab.
-
Click Add connection, and then use the following options:
- Click Next.
-
On the Specify connection settings page, use the following options:
-
Oracle service name. Specify the name of the Oracle service you want to use to access Oracle Database. You can click Refresh to get a list of available Oracle services.
-
Access Oracle service with. Type the user name and password of the account with which you want to access the Oracle service.
-
Test Connection. Click this button to verify the specified connection settings.
- Click Next.
-
On the Specify how to select and modify data page, use the following options:
-
Use data from this table. Allows you to select a database table that includes the data you want to participate in the synchronization operations. You can click Preview to preview the database table you have selected.
-
Use an SQL query to specify data. Allows you to compose an SQL query that provides a more flexible way for specifying the data for synchronization. For example, you can use this option to specify multiple database tables.
- Click Next.
-
On the Specify attributes to identify objects page, use the following options:
-
Oracle service name. Specify the name of the Oracle service you want to use to access Oracle Database. You can click Refresh to get a list of available Oracle services.
-
Access Oracle service with. Type the user name and password of the account with which you want to access the Oracle service.
-
Test Connection. Click this button to verify the specified connection settings.
-
Click Finish to create a connection to Oracle Database.
After connecting Synchronization Service to Oracle Database with the Oracle Database User Accounts Connector, you can specify custom SQL queries you want to automatically run each time after Synchronization Service has created, updated, or deleted a user account in Oracle Database User Accounts. For more information, see Modifying an existing Oracle Database user account connection.