<div style="font-family:Arial, Helvetica, sans-serif; font-size:12px; color:#00000">‌Hello,<br>
<br>
when configuring an LDAP resource we enter an LDAP DN in the parameter "baseContext"<br>
    <connectorConfiguration ><br>
        <icfc:configurationProperties ><br>
...<br>
            <gen629:baseContext>O=app21</gen629:baseContext><br>
...<br>
        </icfc:configurationProperties><br>
    </connectorConfiguration><br>
<br>
when defining the mapping of the account, I would like to reuse this information for building the DN of the account<br>
<br>
    <attribute id="9"><br>
                <ref>ri:dn</ref><br>
                <outbound><br>
                    <strength>strong</strength><br>
                    <source><br>
                        <path>$focus/employeeNumber</path><br>
                    </source><br>
                    <expression><br>
                        <script><br>
                            <code>'cn=' + employeeNumber + ',OU=Users,' + resource.getBaseContext()</code><br>
                        </script><br>
                    </expression><br>
                </outbound><br>
    </attribute><br>
<br>
what is the correct expression to get the "baseContext" attribute of the resource ?<br>
<br>
Thanks in advance<br>
Philippe</div>