<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <p>Hi Mercedes,</p>
    <p>you can create another resource for the roles table and use a
      schema handling and synchronization like this:</p>
    <p><br>
    </p>
    <pre style="background-color:#2b2b2b;color:#a9b7c6;font-family:'JetBrains Mono',monospace;font-size:9,8pt;"><span style="color:#e8bf6a;"><schemaHandling>
</span><span style="color:#e8bf6a;">    <objectType>
</span><span style="color:#e8bf6a;">        <objectClass></span>ri:AccountObjectClass<span style="color:#e8bf6a;"></objectClass>
</span><span style="color:#e8bf6a;">        <default></span>true<span style="color:#e8bf6a;"></default>
</span><span style="color:#e8bf6a;">        <kind></span><b>entitlement</b><span style="color:#e8bf6a;"></kind>
</span><span style="color:#e8bf6a;">        <intent></span>default<span style="color:#e8bf6a;"></intent>
...

</span><span style="color:#e8bf6a;"></span>
<span style="color:#e8bf6a;"><synchronization>
</span><span style="color:#e8bf6a;">    <objectSynchronization>
</span><span style="color:#e8bf6a;">        <objectClass></span>AccountObjectClass<span style="color:#e8bf6a;"></objectClass>
</span><span style="color:#e8bf6a;">        <kind></span><b>entitlement</b><span style="color:#e8bf6a;"></kind>
</span><span style="color:#e8bf6a;">        <intent></span>default<span style="color:#e8bf6a;"></intent>
</span><span style="color:#e8bf6a;">        <focusType></span>RoleType<span style="color:#e8bf6a;"></focusType>
</span><span style="color:#e8bf6a;">        <enabled></span>true<span style="color:#e8bf6a;"></enabled></span></pre>
    <p>...</p>
    <p>HTH</p>
    <p>Marc</p>
    <p><br>
    </p>
    <pre style="background-color:#2b2b2b;color:#a9b7c6;font-family:'JetBrains Mono',monospace;font-size:9,8pt;"><span style="color:#e8bf6a;"></span><span style="color:#e8bf6a;"></span></pre>
    <div class="moz-cite-prefix">Am 09.02.22 um 16:54 schrieb Mercedes
      Oncina Deltell via midPoint:<br>
    </div>
    <blockquote type="cite"
      cite="mid:5f1a28d2-ba18-1ae8-523b-832dc3757594@um.es">Good
      afternoon.
      <br>
      <br>
      I have finally managed to sync and import an Oracle users table in
      midPoint.
      <br>
      <br>
      Now I would like to know if it is possible to synchronize a table
      of roles from Oracle to import them in midPoint.
      <br>
      I only see the AccountObjectClass option when I do the attribute
      mapping in the SchemaHandling, so I'm not sure if what I want to
      do is feasible.
      <br>
      <br>
      Thank you very much.
      <br>
      <br>
    </blockquote>
    <pre class="moz-signature" cols="72">-- 
Marc Füller
Consultant

DAASI International GmbH
Europaplatz 3
D-72072 Tübingen
Germany

phone: +49 7071 407109-0
fax:   +49 7071 407109-9
email: <a class="moz-txt-link-abbreviated" href="mailto:marc.fueller@daasi.de">marc.fueller@daasi.de</a>
web:   <a class="moz-txt-link-abbreviated" href="http://www.daasi.de">www.daasi.de</a>
Sitz der Gesellschaft: Tübingen
Registergericht: Amtsgericht Stuttgart, HRB 382175
Geschäftsleitung: Peter Gietz</pre>
  </body>
</html>