Auto-enrolling users by importing data from external databases
Using this option, you can connect databases such as Oracle, MS SQL, MySQL, and PostgreSQL with
ADSelfService Plus, and import the enrollment data stored in them. This option comes in handy if you
already have all the necessary enrollment data stored in an external database.
Steps for configuring auto-enrollment via database import
-
Log in to the ADSelfService Plus web console as an admin.
-
Navigate to Configuration → Administrative Tools → Quick Enrollment → Import Enrollment Data from External Database.
-
Click Add New Data Source.
-
Enter a Connection Name for the data source.
-
Select the type of database that you want to connect to from the Select DB Server drop-down.
-
Enter the Host Name/IP Address and Port number of the database server.
-
Enter the name of the database that stores your enrollment data in the DB Name field.
-
In the Username and Password fields, enter the credentials of a user who has privileges to query the database server.
-
Click Create.
-
Back on the Import Enrollment Data from External Database screen, click Add New Fetcher.
-
Enter a name in the Fetcher Name field.
-
Select the connection that you just created from the Select the Connection drop-down.
-
Select a policy from the Select Policy drop-down.
-
Select the enrollment data that you want to import from the Import drop-down.
-
In the SQL Query field, type the appropriate query to fetch the necessary data from the database table.
Sample query:
Select Username, Mobile Number, Email ID from < TableName >;
-
Click Save.
Importing User Enrollment Data
-
Manually : If there are new users added to the database, then simply click the Fetch Again icon to enroll the newly added users.
-
Automatically : You can also set up a scheduler to automatically update the enrollment data of new users at regular intervals.