<?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 map AD group to Ivy role?</title><link>https://answers.axonivy.com/questions/1404/how-to-map-ad-group-to-ivy-role</link><description>&lt;p&gt;We like to manage the rights for our ivy applications over the Microsoft Active Directory. According the AD groups, ivy roles should automatically added to the ivy user. We have in mind to build some technical processes to do that. But we have some questions...&lt;br&gt;
&lt;br&gt;&lt;b&gt;Is it possible to read (lower) OU's of a user?&lt;/b&gt;&lt;br&gt;
If we have the OU "ivy" to import all users and there is a OU "admin" under the OU "ivy", can we find out which users are in the OU "admin"? How can we get this information. Maybe some how like reading AD attributes?&lt;br&gt;
&lt;br&gt;&lt;b&gt;Is it possible to listen to the LDAP synchronisation of the ivy server?&lt;/b&gt;&lt;br&gt;
Every times when the user synchronisation is finished, our code should be executed to add specified ivy roles to the user based on the AD OU's.&lt;/p&gt;
&lt;p&gt;Thank you for your support&lt;/p&gt;</description><atom:link href="https://answers.axonivy.com/questions/1404/how-to-map-ad-group-to-ivy-role" rel="self"></atom:link><language>en</language><lastBuildDate>Thu, 23 Jul 2015 16:26:57 -0400</lastBuildDate><item><title>Answer by Christian Strebel</title><link>https://answers.axonivy.com/questions/1404/how-to-map-ad-group-to-ivy-role/1407</link><description>&lt;p&gt;If you read the User.getExternalSecurityName() you get the fully qualified LDAP Name like:
CN=User Name,CN=Users,OU=Management,OU=Swiss,DC=company,DC=com&lt;/p&gt;
&lt;p&gt;This means the user is "under" the Organisation Units "Management" and "Swiss".&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Christian Strebel</dc:creator><pubDate>Thu, 23 Jul 2015 16:26:57 -0400</pubDate><guid>https://answers.axonivy.com/questions/1404/how-to-map-ad-group-to-ivy-role/1407</guid></item><item><title>Answer by Christian Strebel</title><link>https://answers.axonivy.com/questions/1404/how-to-map-ad-group-to-ivy-role/1406</link><description>&lt;p&gt;You can map either an group or an Organisation Unit (OU) to an ivy role.&lt;/p&gt;
&lt;p&gt;See dokumentation about &lt;a href="http://developer.axonivy.com/doc/latest/EngineGuideHtml/administration.html#N23141"&gt;External Security Name&lt;/a&gt;:&lt;/p&gt;
&lt;p&gt;If you are using an external security system (e.g. Microsoft Active Directory) then you can link an Axon.ivy role to a group or another structural node (e.g. Organisation Unit) on the directory server. If a group is selected then all users that are members of this group will automatically receive the associated Axon.ivy role. If a structural node is selected then all users located below the structural node will automatically receive the associated Axon.ivy role.&lt;/p&gt;
&lt;p&gt;Press External security name to edit or browse the name of the group or structural node whose users should receive the selected Axon.ivy role.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Christian Strebel</dc:creator><pubDate>Thu, 23 Jul 2015 16:18:25 -0400</pubDate><guid>https://answers.axonivy.com/questions/1404/how-to-map-ad-group-to-ivy-role/1406</guid></item></channel></rss>