<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>Answers to: How to read and synchronize users from multiple Active directory domains?</title><link>https://answers.axonivy.com/questions/583/how-to-read-and-synchronize-users-from-multiple-active-directory-domains</link><description>&lt;p&gt;We have 3 different AD domains and should have the users of all of them in our ivy5 application&lt;/p&gt;</description><atom:link href="https://answers.axonivy.com/questions/583/how-to-read-and-synchronize-users-from-multiple-active-directory-domains" rel="self"></atom:link><language>en</language><lastBuildDate>Fri, 18 May 2018 04:17:28 -0400</lastBuildDate><item><title>Answer by Reguel Wermelinger</title><link>https://answers.axonivy.com/questions/583/how-to-read-and-synchronize-users-from-multiple-active-directory-domains/3280</link><description>&lt;p&gt;It works if you synchronize the users with your own logic.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Create an application that uses the &lt;code&gt;Ivy Security System&lt;/code&gt; instead of the official 'Microsoft Active Directory.&lt;/li&gt;
&lt;li&gt;Set-up a simple process that runs every night (e.g. with a Timed Start Event). Within this process you can modify valid Axon.ivy Users and Roles by using official API.  &lt;code&gt;ivy.session.getSecurityContext().createXYZ&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;To get users of the different Active Directory Systems you can use the &lt;a href="https://github.com/ivy-supplements/bpm-beans/tree/master/ldap-beans"&gt;Ldap-Beans&lt;/a&gt; which give you a simple interface and spits out matching users of the LDAP accoring to your queries.&lt;/li&gt;
&lt;li&gt;To verify that the synchronized users are really allowed to use your system I'd use an IIS front-end server that handles the authentication. (and IIS can easily handle complex AD-Forests)&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;img alt="alt text" src="https://answers.axonivy.com/upfiles/adminUi_securitySystemSelection.png"&gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Reguel Wermelinger</dc:creator><pubDate>Fri, 18 May 2018 04:17:28 -0400</pubDate><guid>https://answers.axonivy.com/questions/583/how-to-read-and-synchronize-users-from-multiple-active-directory-domains/3280</guid></item></channel></rss>