<?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>Mon, 27 Jul 2015 08:40:52 -0400</lastBuildDate><item><title>Comment by Adrian Imfeld on Christian Strebel's answer</title><link>https://answers.axonivy.com/questions/1404/how-to-map-ad-group-to-ivy-role#1412</link><description>&lt;p&gt;Because of that, I asked the second question. Is it possible to listen to the user synchronisation job in Axon.ivy Engine? After the job is running i could map all the requestet (and additional) IRoles to the users.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Adrian Imfeld</dc:creator><pubDate>Mon, 27 Jul 2015 08:40:52 -0400</pubDate><guid>https://answers.axonivy.com/questions/1404/how-to-map-ad-group-to-ivy-role#1412</guid></item><item><title>Comment by Christian Strebel on Christian Strebel's answer</title><link>https://answers.axonivy.com/questions/1404/how-to-map-ad-group-to-ivy-role#1411</link><description>&lt;p&gt;A solution could be designed as follows with the ivy roles:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;Everybody
|-IT+Management
 |-Management (Mapped to: OU=Management,OU=Swiss,DC=company)
 |-IT (Mapped to: OU=IT,OU=Swiss,DC=company)
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;So if you have the OU "Management" or "IT" you get the corresponding ivy role and also the ivy role IT+Management (inherited).&lt;/p&gt;
&lt;p&gt;Because I think you don't want to change/add the sub roles in RAP project you could add the roles per API (&lt;a href="http://answers.axonivy.com/questions/264/how-can-i-create-a-role-at-runtime-dynamically"&gt;See Q&amp;amp;A&lt;/a&gt;) on the server of your client.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Christian Strebel</dc:creator><pubDate>Fri, 24 Jul 2015 08:22:16 -0400</pubDate><guid>https://answers.axonivy.com/questions/1404/how-to-map-ad-group-to-ivy-role#1411</guid></item><item><title>Comment by Adrian Imfeld on Christian Strebel's answer</title><link>https://answers.axonivy.com/questions/1404/how-to-map-ad-group-to-ivy-role#1410</link><description>&lt;p&gt;I mean two different OU's of the same hierarchical level.
For example we have units "backoffice", "sales" and "it". All units ar hirarchical under the enterprise unit. Backoffice- and IT-users need the right for a time tracking tool (Axon.ivy role "RAP"). Sales-Users should not have this rights or rather Axon.ivy role.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Adrian Imfeld</dc:creator><pubDate>Thu, 23 Jul 2015 17:37:33 -0400</pubDate><guid>https://answers.axonivy.com/questions/1404/how-to-map-ad-group-to-ivy-role#1410</guid></item><item><title>Comment by Christian Strebel on Christian Strebel's answer</title><link>https://answers.axonivy.com/questions/1404/how-to-map-ad-group-to-ivy-role#1409</link><description>&lt;p&gt;Organisation Units are hierarchical:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;DC=company
|-OU=Swiss (FQN: OU=Swiss,DC=company)
 |-OU=Management (FQN: OU=Management,OU=Swiss,DC=company)
 |-OU=IT (FQN: OU=IT,OU=Swiss,DC=company)
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;So if you have the OU "Management" or "IT" you have always also "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 17:20:45 -0400</pubDate><guid>https://answers.axonivy.com/questions/1404/how-to-map-ad-group-to-ivy-role#1409</guid></item><item><title>Comment by Adrian Imfeld on Christian Strebel's answer</title><link>https://answers.axonivy.com/questions/1404/how-to-map-ad-group-to-ivy-role#1408</link><description>&lt;p&gt;Thank you.
Is it also possible to define more than one structural node for one Axon.ivy role? If not, I have still the need to listen for the user synchronisation job of the Axon.ivy Engine.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Adrian Imfeld</dc:creator><pubDate>Thu, 23 Jul 2015 17:04:57 -0400</pubDate><guid>https://answers.axonivy.com/questions/1404/how-to-map-ad-group-to-ivy-role#1408</guid></item><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>