<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>Answers to: Trigger LDAP/AD role mapping by API</title><link>https://answers.axonivy.com/questions/4448/trigger-ldap-ad-role-mapping-by-api</link><description>&lt;p&gt;Cheers,&lt;/p&gt;
&lt;p&gt;is there any way to trigger the synchronization with the LDAP / ActiveDirectory by calling an API endpoint? Or can I schedule the cron to run more than once daily?&lt;/p&gt;
&lt;p&gt;The background is that a customer might be modifying some role mappings on demand or shortly before starting a workflow.&lt;/p&gt;
&lt;p&gt;The version in question unfortunately is still 7.2.1, which contains a sync button in the RIA only. &lt;/p&gt;</description><atom:link href="https://answers.axonivy.com/questions/4448/trigger-ldap-ad-role-mapping-by-api" rel="self"></atom:link><language>en</language><lastBuildDate>Wed, 11 Mar 2020 11:18:34 -0400</lastBuildDate><item><title>Answer by Andreas Rusch</title><link>https://answers.axonivy.com/questions/4448/trigger-ldap-ad-role-mapping-by-api/4450</link><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;Yes, there is, on the ISecurityContext, e.g. in IvyScript:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;ivy.wf.getSecurityContext().triggerSynchronization();
&lt;/code&gt;&lt;/pre&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Andreas Rusch</dc:creator><pubDate>Wed, 11 Mar 2020 11:18:34 -0400</pubDate><guid>https://answers.axonivy.com/questions/4448/trigger-ldap-ad-role-mapping-by-api/4450</guid></item></channel></rss>