<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    Hello Pavol,<br>
    <br>
    thanks for helping me there! This is the relation definition:<br>
    <br>
    <relations><br>
        <relation><br>
            <ref
    xmlns:extension="whatever">extension:myRelation</ref><br>
            <display><br>
                <label>myRelation</label><br>
            </display><br>
            <category>organization</category><br>
            <category>administration</category><br>
    <b>        <kind>member</kind></b><br>
        </relation><br>
       
    <includeDefaultRelations>true</includeDefaultRelations><br>
    </relations><br>
    <br>
    Adding kind=member did the trick! I had experimented with
    defaultFor=member but thats not what I wantend.<br>
    The sample here:
    <a class="moz-txt-link-freetext" href="https://wiki.evolveum.com/display/midPoint/Relation+Configuration">https://wiki.evolveum.com/display/midPoint/Relation+Configuration</a>
    explains the relation kinds in detail but never shows how it can be
    set. Maybe that can be improved.<br>
    <br>
    To satisfy your curiosity:<br>
    <br>
    The real usecase here is a Role (Allow Codesigning) with parameter
    (Hostname) that gets assigned to a user. Midpoint should
    automatically assign the same role to a second focal object
    (computer) based on the parameter.<br>
    <br>
    In detail:<br>
    The assignment of the "Allow Codesigning" Role to the user causes
    the User to be added to an AD Group and Assigns the Computer as a
    Service to the User in Midpoint<br>
    The archetype of the computer object should then assign the "Allow
    Codesigning" Role also to the computer - but only if it is assigned
    to someone with the relation Codesigning - so that it also gets
    added to the AD Group but not all existing computers.<br>
    Both user and computer are then member of the AD group (which is the
    requirement) and the computer will automatically be removed from the
    group once no more user claims to require the computer (based on the
    user-assignment-parameter)<br>
    So far no custom relation would be needed. But once we add a second
    usecase that assigns computers to user (e.g. main user) they would
    interfere with each other.<br>
    <br>
    Furthermore it makes reporting easy:<br>
    - Give me all machines that belong to Subordinate Users of Manager
    XY and are used for codesigning (also a requirement by the business)<br>
    vs<br>
    - Give me all machines where a Subordinate Users of Manager XY is
    the main user (possible usecase)
    <p>Best regards,</p>
    <p>Martin Hoffmann</p>
    <div class="moz-cite-prefix">Am 13.11.2019 um 19:28 schrieb Pavol
      Mederly:<br>
    </div>
    <blockquote type="cite"
      cite="mid:420ee872-13b1-d232-3ba4-b156f7450a77@evolveum.com">
      <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
      <p>Hello Martin,</p>
      <p>how are your relations defined in the system configuration? In
        particular, have you set a kind=member for myRelation?</p>
      <p>[Out of curiosity, what has led you to user a custom relation
        in this context? This is the first time I see such a use :-)]</p>
      <p>Best regards,<br>
      </p>
      <pre class="moz-signature" cols="72">Pavol Mederly
Software developer
evolveum.com
</pre>
      <div class="moz-cite-prefix">On 13.11.2019 16:49, Martin Hoffmann
        wrote:<br>
      </div>
      <blockquote type="cite"
        cite="mid:d1ee176c92174ac29bffba938dcd6f6b@rohde-schwarz.com">
        <meta http-equiv="Content-Type" content="text/html;
          charset=UTF-8">
        <meta name="Generator" content="Microsoft Word 15 (filtered
          medium)">
        <style><!--
/* Font Definitions */
@font-face
        {font-family:Wingdings;
        panose-1:5 0 0 0 0 0 0 0 0 0;}
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:"Arial Unicode MS";
        panose-1:2 11 6 4 2 2 2 2 2 4;}
@font-face
        {font-family:"Arial Black";
        panose-1:2 11 10 4 2 1 2 2 2 4;}
@font-face
        {font-family:"\@Arial Unicode MS";
        panose-1:2 11 6 4 2 2 2 2 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin-top:0cm;
        margin-right:0cm;
        margin-bottom:6.0pt;
        margin-left:0cm;
        line-height:112%;
        font-size:10.0pt;
        font-family:"Arial",sans-serif;
        mso-fareast-language:EN-US;}
h1
        {mso-style-priority:12;
        mso-style-link:"Überschrift 1 Zchn";
        margin-top:18.0pt;
        margin-right:0cm;
        margin-bottom:6.0pt;
        margin-left:21.25pt;
        mso-add-space:auto;
        text-indent:-21.25pt;
        line-height:112%;
        page-break-after:avoid;
        mso-list:l5 level1 lfo1;
        font-size:20.0pt;
        font-family:"Arial Narrow",sans-serif;
        color:#003E76;
        mso-fareast-language:EN-US;}
h1.CxSpFirst
        {mso-style-priority:12;
        mso-style-link:"Überschrift 1 Zchn";
        mso-style-type:export-only;
        margin-top:18.0pt;
        margin-right:0cm;
        margin-bottom:0cm;
        margin-left:21.25pt;
        margin-bottom:.0001pt;
        mso-add-space:auto;
        text-indent:-21.25pt;
        line-height:112%;
        page-break-after:avoid;
        mso-list:l5 level1 lfo1;
        font-size:20.0pt;
        font-family:"Arial Narrow",sans-serif;
        color:#003E76;
        mso-fareast-language:EN-US;}
h1.CxSpMiddle
        {mso-style-priority:12;
        mso-style-link:"Überschrift 1 Zchn";
        mso-style-type:export-only;
        margin-top:0cm;
        margin-right:0cm;
        margin-bottom:0cm;
        margin-left:21.25pt;
        margin-bottom:.0001pt;
        mso-add-space:auto;
        text-indent:-21.25pt;
        line-height:112%;
        page-break-after:avoid;
        mso-list:l5 level1 lfo1;
        font-size:20.0pt;
        font-family:"Arial Narrow",sans-serif;
        color:#003E76;
        mso-fareast-language:EN-US;}
h1.CxSpLast
        {mso-style-priority:12;
        mso-style-link:"Überschrift 1 Zchn";
        mso-style-type:export-only;
        margin-top:0cm;
        margin-right:0cm;
        margin-bottom:6.0pt;
        margin-left:21.25pt;
        mso-add-space:auto;
        text-indent:-21.25pt;
        line-height:112%;
        page-break-after:avoid;
        mso-list:l5 level1 lfo1;
        font-size:20.0pt;
        font-family:"Arial Narrow",sans-serif;
        color:#003E76;
        mso-fareast-language:EN-US;}
h2
        {mso-style-priority:9;
        mso-style-link:"Überschrift 2 Zchn";
        margin-top:2.0pt;
        margin-right:0cm;
        margin-bottom:0cm;
        margin-left:0cm;
        margin-bottom:.0001pt;
        line-height:112%;
        page-break-after:avoid;
        font-size:13.0pt;
        font-family:"Arial Narrow",sans-serif;
        color:#002E58;
        mso-fareast-language:EN-US;
        font-weight:normal;}
p.MsoListBullet, li.MsoListBullet, div.MsoListBullet
        {mso-style-priority:78;
        margin-top:0cm;
        margin-right:0cm;
        margin-bottom:6.0pt;
        margin-left:21.25pt;
        text-indent:-21.25pt;
        line-height:112%;
        mso-list:l8 level1 lfo14;
        font-size:10.0pt;
        font-family:"Arial",sans-serif;
        mso-fareast-language:EN-US;}
p.MsoListBullet2, li.MsoListBullet2, div.MsoListBullet2
        {mso-style-priority:78;
        margin-top:0cm;
        margin-right:0cm;
        margin-bottom:6.0pt;
        margin-left:42.5pt;
        text-indent:-21.25pt;
        line-height:112%;
        mso-list:l8 level2 lfo14;
        font-size:10.0pt;
        font-family:"Arial",sans-serif;
        mso-fareast-language:EN-US;}
p.MsoListBullet3, li.MsoListBullet3, div.MsoListBullet3
        {mso-style-priority:78;
        margin-top:0cm;
        margin-right:0cm;
        margin-bottom:6.0pt;
        margin-left:63.75pt;
        text-indent:-21.25pt;
        line-height:112%;
        mso-list:l8 level3 lfo14;
        font-size:10.0pt;
        font-family:"Arial",sans-serif;
        mso-fareast-language:EN-US;}
p.MsoListBullet4, li.MsoListBullet4, div.MsoListBullet4
        {mso-style-priority:78;
        margin-top:0cm;
        margin-right:0cm;
        margin-bottom:6.0pt;
        margin-left:85.0pt;
        text-indent:-21.25pt;
        line-height:112%;
        mso-list:l8 level4 lfo14;
        font-size:10.0pt;
        font-family:"Arial",sans-serif;
        mso-fareast-language:EN-US;}
p.MsoListBullet5, li.MsoListBullet5, div.MsoListBullet5
        {mso-style-priority:78;
        margin-top:0cm;
        margin-right:0cm;
        margin-bottom:6.0pt;
        margin-left:106.25pt;
        text-indent:-21.25pt;
        line-height:112%;
        mso-list:l8 level5 lfo14;
        font-size:10.0pt;
        font-family:"Arial",sans-serif;
        mso-fareast-language:EN-US;}
p.MsoTitle, li.MsoTitle, div.MsoTitle
        {mso-style-priority:10;
        mso-style-link:"Titel Zchn";
        margin-top:18.0pt;
        margin-right:102.05pt;
        margin-bottom:6.0pt;
        margin-left:0cm;
        mso-add-space:auto;
        line-height:112%;
        font-size:26.0pt;
        font-family:"Arial Narrow",sans-serif;
        color:#003E76;
        text-transform:uppercase;
        mso-fareast-language:EN-US;
        font-weight:bold;}
p.MsoTitleCxSpFirst, li.MsoTitleCxSpFirst, div.MsoTitleCxSpFirst
        {mso-style-priority:10;
        mso-style-link:"Titel Zchn";
        mso-style-type:export-only;
        margin-top:18.0pt;
        margin-right:102.05pt;
        margin-bottom:0cm;
        margin-left:0cm;
        margin-bottom:.0001pt;
        mso-add-space:auto;
        line-height:112%;
        font-size:26.0pt;
        font-family:"Arial Narrow",sans-serif;
        color:#003E76;
        text-transform:uppercase;
        mso-fareast-language:EN-US;
        font-weight:bold;}
p.MsoTitleCxSpMiddle, li.MsoTitleCxSpMiddle, div.MsoTitleCxSpMiddle
        {mso-style-priority:10;
        mso-style-link:"Titel Zchn";
        mso-style-type:export-only;
        margin-top:0cm;
        margin-right:102.05pt;
        margin-bottom:0cm;
        margin-left:0cm;
        margin-bottom:.0001pt;
        mso-add-space:auto;
        line-height:112%;
        font-size:26.0pt;
        font-family:"Arial Narrow",sans-serif;
        color:#003E76;
        text-transform:uppercase;
        mso-fareast-language:EN-US;
        font-weight:bold;}
p.MsoTitleCxSpLast, li.MsoTitleCxSpLast, div.MsoTitleCxSpLast
        {mso-style-priority:10;
        mso-style-link:"Titel Zchn";
        mso-style-type:export-only;
        margin-top:0cm;
        margin-right:102.05pt;
        margin-bottom:6.0pt;
        margin-left:0cm;
        mso-add-space:auto;
        line-height:112%;
        font-size:26.0pt;
        font-family:"Arial Narrow",sans-serif;
        color:#003E76;
        text-transform:uppercase;
        mso-fareast-language:EN-US;
        font-weight:bold;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:#009DEC;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:#933973;
        text-decoration:underline;}
span.TitelZchn
        {mso-style-name:"Titel Zchn";
        mso-style-priority:10;
        mso-style-link:Titel;
        font-family:"Arial Narrow",sans-serif;
        color:#003E76;
        text-transform:uppercase;
        font-weight:bold;}
span.berschrift1Zchn
        {mso-style-name:"Überschrift 1 Zchn";
        mso-style-priority:12;
        mso-style-link:"Überschrift 1";
        font-family:"Arial Narrow",sans-serif;
        color:#003E76;
        font-weight:bold;}
span.berschrift2Zchn
        {mso-style-name:"Überschrift 2 Zchn";
        mso-style-priority:9;
        mso-style-link:"Überschrift 2";
        font-family:"Arial Narrow",sans-serif;
        color:#002E58;}
span.E-MailFormatvorlage27
        {mso-style-type:personal-compose;
        font-family:"Arial",sans-serif;
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;
        font-family:"Arial",sans-serif;
        mso-fareast-language:EN-US;}
.MsoPapDefault
        {mso-style-type:export-only;
        margin-bottom:6.0pt;
        line-height:112%;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:70.85pt 70.85pt 2.0cm 70.85pt;}
div.WordSection1
        {page:WordSection1;}
/* List Definitions */
@list l0
        {mso-list-id:-128;
        mso-list-type:simple;
        mso-list-template-ids:-1065161782;}
@list l0:level1
        {mso-level-number-format:bullet;
        mso-level-text:;
        mso-level-tab-stop:74.6pt;
        mso-level-number-position:left;
        margin-left:74.6pt;
        text-indent:-18.0pt;
        font-family:Symbol;}
@list l1
        {mso-list-id:-127;
        mso-list-type:simple;
        mso-list-template-ids:-1206225484;}
@list l1:level1
        {mso-level-number-format:bullet;
        mso-level-text:;
        mso-level-tab-stop:60.45pt;
        mso-level-number-position:left;
        margin-left:60.45pt;
        text-indent:-18.0pt;
        font-family:Symbol;}
@list l2
        {mso-list-id:-126;
        mso-list-type:simple;
        mso-list-template-ids:-1263516298;}
@list l2:level1
        {mso-level-number-format:bullet;
        mso-level-text:;
        mso-level-tab-stop:46.3pt;
        mso-level-number-position:left;
        margin-left:46.3pt;
        text-indent:-18.0pt;
        font-family:Symbol;}
@list l3
        {mso-list-id:-125;
        mso-list-type:simple;
        mso-list-template-ids:753556074;}
@list l3:level1
        {mso-level-number-format:bullet;
        mso-level-text:;
        mso-level-tab-stop:32.15pt;
        mso-level-number-position:left;
        margin-left:32.15pt;
        text-indent:-18.0pt;
        font-family:Symbol;}
@list l4
        {mso-list-id:-119;
        mso-list-type:simple;
        mso-list-template-ids:-1762648096;}
@list l4:level1
        {mso-level-number-format:bullet;
        mso-level-text:;
        mso-level-tab-stop:18.0pt;
        mso-level-number-position:left;
        margin-left:18.0pt;
        text-indent:-18.0pt;
        font-family:Symbol;}
@list l5
        {mso-list-id:628360796;
        mso-list-template-ids:-650887362;}
@list l5:level1
        {mso-level-style-link:"Überschrift 1";
        mso-level-text:%1;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        margin-left:21.25pt;
        text-indent:-21.25pt;}
@list l5:level2
        {mso-level-text:"%1\.%2";
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        margin-left:29.75pt;
        text-indent:-29.75pt;}
@list l5:level3
        {mso-level-text:"%1\.%2\.%3";
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        margin-left:38.25pt;
        text-indent:-38.25pt;}
@list l5:level4
        {mso-level-text:"%1\.%2\.%3\.%4";
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        margin-left:46.8pt;
        text-indent:-46.8pt;}
@list l5:level5
        {mso-level-text:"%1\.%2\.%3\.%4\.%5";
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        margin-left:55.3pt;
        text-indent:-55.3pt;}
@list l5:level6
        {mso-level-text:"%1\.%2\.%3\.%4\.%5\.%6";
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        margin-left:63.8pt;
        text-indent:-63.8pt;}
@list l5:level7
        {mso-level-text:"%1\.%2\.%3\.%4\.%5\.%6\.%7";
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        margin-left:72.3pt;
        text-indent:-72.3pt;}
@list l5:level8
        {mso-level-text:"%1\.%2\.%3\.%4\.%5\.%6\.%7\.%8";
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        margin-left:80.8pt;
        text-indent:-80.8pt;}
@list l5:level9
        {mso-level-text:"%1\.%2\.%3\.%4\.%5\.%6\.%7\.%8\.%9";
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        margin-left:89.3pt;
        text-indent:-89.3pt;}
@list l6
        {mso-list-id:632638006;
        mso-list-template-ids:-1039730736;}
@list l6:level1
        {mso-level-number-format:bullet;
        mso-level-text:ı;
        mso-level-tab-stop:21.25pt;
        mso-level-number-position:left;
        margin-left:21.25pt;
        text-indent:-21.25pt;
        mso-ansi-font-size:9.0pt;
        mso-bidi-font-size:9.0pt;
        mso-ascii-font-family:"Arial Black";
        mso-hansi-font-family:"Arial Black";
        mso-bidi-font-family:"Arial Black";}
@list l6:level2
        {mso-level-number-format:bullet;
        mso-level-text:▪;
        mso-level-tab-stop:42.55pt;
        mso-level-number-position:left;
        margin-left:42.5pt;
        text-indent:-21.25pt;
        mso-ansi-font-size:9.0pt;
        mso-bidi-font-size:9.0pt;
        font-family:"Arial",sans-serif;}
@list l6:level3
        {mso-level-number-format:bullet;
        mso-level-text:▪;
        mso-level-tab-stop:63.8pt;
        mso-level-number-position:left;
        margin-left:63.75pt;
        text-indent:-21.25pt;
        mso-ansi-font-size:9.0pt;
        mso-bidi-font-size:9.0pt;
        font-family:"Arial",sans-serif;}
@list l6:level4
        {mso-level-number-format:bullet;
        mso-level-text:▪;
        mso-level-tab-stop:3.0cm;
        mso-level-number-position:left;
        margin-left:85.0pt;
        text-indent:-21.25pt;
        mso-ansi-font-size:9.0pt;
        mso-bidi-font-size:9.0pt;
        font-family:"Arial",sans-serif;}
@list l6:level5
        {mso-level-number-format:bullet;
        mso-level-text:▪;
        mso-level-tab-stop:106.3pt;
        mso-level-number-position:left;
        margin-left:106.25pt;
        text-indent:-21.25pt;
        mso-ansi-font-size:9.0pt;
        font-family:"Arial",sans-serif;}
@list l6:level6
        {mso-level-number-format:bullet;
        mso-level-text:▪;
        mso-level-tab-stop:127.6pt;
        mso-level-number-position:left;
        margin-left:127.5pt;
        text-indent:-21.25pt;
        mso-ansi-font-size:9.0pt;
        mso-bidi-font-size:9.0pt;
        font-family:"Arial",sans-serif;}
@list l6:level7
        {mso-level-number-format:bullet;
        mso-level-text:▪;
        mso-level-tab-stop:148.85pt;
        mso-level-number-position:left;
        margin-left:148.75pt;
        text-indent:-21.25pt;
        mso-ansi-font-size:9.0pt;
        font-family:"Arial",sans-serif;}
@list l6:level8
        {mso-level-number-format:bullet;
        mso-level-text:▪;
        mso-level-tab-stop:6.0cm;
        mso-level-number-position:left;
        margin-left:170.0pt;
        text-indent:-21.25pt;
        mso-ansi-font-size:9.0pt;
        mso-bidi-font-size:9.0pt;
        font-family:"Arial",sans-serif;}
@list l6:level9
        {mso-level-number-format:bullet;
        mso-level-text:▪;
        mso-level-tab-stop:191.35pt;
        mso-level-number-position:left;
        margin-left:191.25pt;
        text-indent:-21.25pt;
        mso-ansi-font-size:9.0pt;
        mso-bidi-font-size:9.0pt;
        mso-ascii-font-family:Arial;
        mso-hansi-font-family:Arial;
        mso-bidi-font-family:Arial;}
@list l7
        {mso-list-id:803548800;
        mso-list-template-ids:614502010;}
@list l7:level1
        {mso-level-number-format:bullet;
        mso-level-text:►;
        mso-level-tab-stop:21.25pt;
        mso-level-number-position:left;
        margin-left:21.25pt;
        text-indent:-21.25pt;
        mso-ansi-font-size:9.0pt;
        mso-bidi-font-size:9.0pt;
        font-family:"Arial",sans-serif;}
@list l7:level2
        {mso-level-number-format:bullet;
        mso-level-text:─;
        mso-level-tab-stop:42.55pt;
        mso-level-number-position:left;
        margin-left:42.5pt;
        text-indent:-21.25pt;
        mso-ansi-font-size:9.0pt;
        mso-bidi-font-size:9.0pt;
        font-family:"Arial",sans-serif;}
@list l7:level3
        {mso-level-number-format:bullet;
        mso-level-text:─;
        mso-level-tab-stop:63.8pt;
        mso-level-number-position:left;
        margin-left:63.75pt;
        text-indent:-21.25pt;
        mso-ansi-font-size:9.0pt;
        mso-bidi-font-size:9.0pt;
        font-family:"Arial",sans-serif;
        mso-bidi-font-family:"Times New Roman";}
@list l7:level4
        {mso-level-number-format:bullet;
        mso-level-text:─;
        mso-level-tab-stop:3.0cm;
        mso-level-number-position:left;
        margin-left:85.0pt;
        text-indent:-21.25pt;
        mso-ansi-font-size:9.0pt;
        mso-bidi-font-size:9.0pt;
        font-family:"Arial",sans-serif;}
@list l7:level5
        {mso-level-number-format:bullet;
        mso-level-text:─;
        mso-level-tab-stop:106.3pt;
        mso-level-number-position:left;
        margin-left:106.25pt;
        text-indent:-21.25pt;
        mso-ansi-font-size:9.0pt;
        mso-bidi-font-size:9.0pt;
        font-family:"Arial",sans-serif;}
@list l7:level6
        {mso-level-number-format:bullet;
        mso-level-text:─;
        mso-level-tab-stop:127.6pt;
        mso-level-number-position:left;
        margin-left:127.5pt;
        text-indent:-21.25pt;
        mso-ansi-font-size:9.0pt;
        mso-bidi-font-size:9.0pt;
        font-family:"Arial",sans-serif;
        mso-bidi-font-family:"Times New Roman";}
@list l7:level7
        {mso-level-number-format:bullet;
        mso-level-text:─;
        mso-level-tab-stop:148.85pt;
        mso-level-number-position:left;
        margin-left:148.75pt;
        text-indent:-21.25pt;
        mso-ansi-font-size:9.0pt;
        mso-bidi-font-size:9.0pt;
        font-family:"Arial",sans-serif;
        mso-bidi-font-family:"Times New Roman";}
@list l7:level8
        {mso-level-number-format:bullet;
        mso-level-text:─;
        mso-level-tab-stop:6.0cm;
        mso-level-number-position:left;
        margin-left:170.0pt;
        text-indent:-21.25pt;
        mso-ansi-font-size:9.0pt;
        mso-bidi-font-size:9.0pt;
        font-family:"Arial",sans-serif;
        mso-bidi-font-family:"Times New Roman";}
@list l7:level9
        {mso-level-number-format:bullet;
        mso-level-text:─;
        mso-level-tab-stop:191.35pt;
        mso-level-number-position:left;
        margin-left:191.25pt;
        text-indent:-21.25pt;
        mso-ansi-font-size:9.0pt;
        mso-bidi-font-size:9.0pt;
        font-family:"Arial",sans-serif;
        mso-bidi-font-family:"Times New Roman";}
@list l8
        {mso-list-id:874930355;
        mso-list-template-ids:453293872;
        mso-list-style-priority:99;
        mso-list-style-name:"R&S Bullets";}
@list l8:level1
        {mso-level-number-format:bullet;
        mso-level-style-link:Aufzählungszeichen;
        mso-level-text:►;
        mso-level-tab-stop:21.25pt;
        mso-level-number-position:left;
        margin-left:21.25pt;
        text-indent:-21.25pt;
        mso-ansi-font-size:9.0pt;
        mso-bidi-font-size:9.0pt;
        font-family:"Arial",sans-serif;}
@list l8:level2
        {mso-level-number-format:bullet;
        mso-level-style-link:"Aufzählungszeichen 2";
        mso-level-text:─;
        mso-level-tab-stop:42.55pt;
        mso-level-number-position:left;
        margin-left:42.5pt;
        text-indent:-21.25pt;
        mso-ansi-font-size:9.0pt;
        mso-bidi-font-size:9.0pt;
        font-family:"Arial",sans-serif;}
@list l8:level3
        {mso-level-number-format:bullet;
        mso-level-style-link:"Aufzählungszeichen 3";
        mso-level-text:─;
        mso-level-tab-stop:63.8pt;
        mso-level-number-position:left;
        margin-left:63.75pt;
        text-indent:-21.25pt;
        mso-ansi-font-size:9.0pt;
        mso-bidi-font-size:9.0pt;
        font-family:"Arial",sans-serif;
        mso-bidi-font-family:"Times New Roman";}
@list l8:level4
        {mso-level-number-format:bullet;
        mso-level-style-link:"Aufzählungszeichen 4";
        mso-level-text:─;
        mso-level-tab-stop:3.0cm;
        mso-level-number-position:left;
        margin-left:85.0pt;
        text-indent:-21.25pt;
        mso-ansi-font-size:9.0pt;
        mso-bidi-font-size:9.0pt;
        font-family:"Arial",sans-serif;}
@list l8:level5
        {mso-level-number-format:bullet;
        mso-level-style-link:"Aufzählungszeichen 5";
        mso-level-text:─;
        mso-level-tab-stop:106.3pt;
        mso-level-number-position:left;
        margin-left:106.25pt;
        text-indent:-21.25pt;
        mso-ansi-font-size:9.0pt;
        mso-bidi-font-size:9.0pt;
        font-family:"Arial",sans-serif;}
@list l8:level6
        {mso-level-number-format:bullet;
        mso-level-text:─;
        mso-level-tab-stop:127.6pt;
        mso-level-number-position:left;
        margin-left:127.5pt;
        text-indent:-21.25pt;
        mso-ansi-font-size:9.0pt;
        mso-bidi-font-size:9.0pt;
        font-family:"Arial",sans-serif;
        mso-bidi-font-family:"Times New Roman";}
@list l8:level7
        {mso-level-number-format:bullet;
        mso-level-text:─;
        mso-level-tab-stop:148.85pt;
        mso-level-number-position:left;
        margin-left:148.75pt;
        text-indent:-21.25pt;
        mso-ansi-font-size:9.0pt;
        mso-bidi-font-size:9.0pt;
        font-family:"Arial",sans-serif;
        mso-bidi-font-family:"Times New Roman";}
@list l8:level8
        {mso-level-number-format:bullet;
        mso-level-text:─;
        mso-level-tab-stop:6.0cm;
        mso-level-number-position:left;
        margin-left:170.0pt;
        text-indent:-21.25pt;
        mso-ansi-font-size:9.0pt;
        mso-bidi-font-size:9.0pt;
        font-family:"Arial",sans-serif;
        mso-bidi-font-family:"Times New Roman";}
@list l8:level9
        {mso-level-number-format:bullet;
        mso-level-text:─;
        mso-level-tab-stop:191.35pt;
        mso-level-number-position:left;
        margin-left:191.25pt;
        text-indent:-21.25pt;
        mso-ansi-font-size:9.0pt;
        mso-bidi-font-size:9.0pt;
        font-family:"Arial",sans-serif;
        mso-bidi-font-family:"Times New Roman";}
ol
        {margin-bottom:0cm;}
ul
        {margin-bottom:0cm;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
        <div class="WordSection1">
          <p class="MsoNormal">Hi there,<o:p></o:p></p>
          <p class="MsoNormal"><o:p> </o:p></p>
          <p class="MsoNormal"><span lang="EN-US">I am trying to do an
              high-order inducement:<o:p></o:p></span></p>
          <p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
          <p class="MsoNormal"><span lang="EN-US">User ---assignment
              (relation: “extension:myRelation”) ---> Role A
              ---assignment---> Archetype B<o:p></o:p></span></p>
          <p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
          <p class="MsoNormal"><span lang="EN-US">In my Archetype there
              is the following inducement:<o:p></o:p></span></p>
          <p class="MsoNormal"
            style="margin-bottom:0cm;margin-bottom:.0001pt;line-height:normal">
            <a name="_GoBack" moz-do-not-send="true"></a><span
              lang="EN-US">    <inducement id="14"><o:p></o:p></span></p>
          <p class="MsoNormal"
            style="margin-bottom:0cm;margin-bottom:.0001pt;line-height:normal">
            <span lang="EN-US">        <focusMappings><o:p></o:p></span></p>
          <p class="MsoNormal"
            style="margin-bottom:0cm;margin-bottom:.0001pt;line-height:normal">
            <span lang="EN-US">            <mapping id="15"><o:p></o:p></span></p>
          <p class="MsoNormal"
            style="margin-bottom:0cm;margin-bottom:.0001pt;line-height:normal">
            <span lang="EN-US">               
              <name>Testmapping</name><o:p></o:p></span></p>
          <p class="MsoNormal"
            style="margin-bottom:0cm;margin-bottom:.0001pt;line-height:normal">
            <span lang="EN-US">               
              <authoritative>true</authoritative><o:p></o:p></span></p>
          <p class="MsoNormal"
            style="margin-bottom:0cm;margin-bottom:.0001pt;line-height:normal">
            <span lang="EN-US">               
              <strength>strong</strength><o:p></o:p></span></p>
          <p class="MsoNormal"
            style="margin-bottom:0cm;margin-bottom:.0001pt;line-height:normal">
            <span lang="EN-US">                <source><o:p></o:p></span></p>
          <p class="MsoNormal"
            style="margin-bottom:0cm;margin-bottom:.0001pt;line-height:normal">
            <span lang="EN-US">                   
              <c:path>$immediateRole/name</c:path><o:p></o:p></span></p>
          <p class="MsoNormal"
            style="margin-bottom:0cm;margin-bottom:.0001pt;line-height:normal">
            <span lang="EN-US">                </source><o:p></o:p></span></p>
          <p class="MsoNormal"
            style="margin-bottom:0cm;margin-bottom:.0001pt;line-height:normal">
            <span lang="EN-US">                <expression><o:p></o:p></span></p>
          <p class="MsoNormal"
            style="margin-bottom:0cm;margin-bottom:.0001pt;line-height:normal">
            <span lang="EN-US">                    <script xmlns:xsi=<a
                class="moz-txt-link-rfc2396E"
                href="http://www.w3.org/2001/XMLSchema-instance"
                moz-do-not-send="true">"http://www.w3.org/2001/XMLSchema-instance"</a>
              xmlns:c=<a class="moz-txt-link-rfc2396E"
                href="http://midpoint.evolveum.com/xml/ns/public/common/common-3"
                moz-do-not-send="true">"http://midpoint.evolveum.com/xml/ns/public/common/common-3"</a>
              xsi:type="c:ScriptExpressionEvaluatorType"><o:p></o:p></span></p>
          <p class="MsoNormal"
            style="margin-bottom:0cm;margin-bottom:.0001pt;line-height:normal">
            <span lang="EN-US">                        <code><o:p></o:p></span></p>
          <p class="MsoNormal"
            style="margin-bottom:0cm;margin-bottom:.0001pt;line-height:normal">
            <span lang="EN-US">                              return
              "HELLO"<o:p></o:p></span></p>
          <p class="MsoNormal"
            style="margin-bottom:0cm;margin-bottom:.0001pt;line-height:normal">
            <span lang="EN-US">                        </code><o:p></o:p></span></p>
          <p class="MsoNormal"
            style="margin-bottom:0cm;margin-bottom:.0001pt;line-height:normal">
            <span lang="EN-US">                    </script><o:p></o:p></span></p>
          <p class="MsoNormal"
            style="margin-bottom:0cm;margin-bottom:.0001pt;line-height:normal">
            <span lang="EN-US">                </expression><o:p></o:p></span></p>
          <p class="MsoNormal"
            style="margin-bottom:0cm;margin-bottom:.0001pt;line-height:normal">
            <span lang="EN-US">                <target><o:p></o:p></span></p>
          <p class="MsoNormal"
            style="margin-bottom:0cm;margin-bottom:.0001pt;line-height:normal">
            <span lang="EN-US">                   
              <c:path>$focus/extension/rsJobFunction</c:path><o:p></o:p></span></p>
          <p class="MsoNormal"
            style="margin-bottom:0cm;margin-bottom:.0001pt;line-height:normal">
            <span lang="EN-US">                </target><o:p></o:p></span></p>
          <p class="MsoNormal"
            style="margin-bottom:0cm;margin-bottom:.0001pt;line-height:normal">
            <span lang="EN-US">            </mapping><o:p></o:p></span></p>
          <p class="MsoNormal"
            style="margin-bottom:0cm;margin-bottom:.0001pt;line-height:normal">
            <span lang="EN-US">        </focusMappings><o:p></o:p></span></p>
          <p class="MsoNormal"
            style="margin-bottom:0cm;margin-bottom:.0001pt;line-height:normal">
            <span lang="EN-US">        <order>2</order><o:p></o:p></span></p>
          <p class="MsoNormal"
            style="margin-bottom:0cm;margin-bottom:.0001pt;line-height:normal">
            <span lang="EN-US">       
              <focusType>c:UserType</focusType><o:p></o:p></span></p>
          <p class="MsoNormal"
            style="margin-bottom:0cm;margin-bottom:.0001pt;line-height:normal">
            <span lang="EN-US">    </inducement><o:p></o:p></span></p>
          <p class="MsoNormal"
            style="margin-bottom:0cm;margin-bottom:.0001pt;line-height:normal">
            <span lang="EN-US"><o:p> </o:p></span></p>
          <p class="MsoNormal"
            style="margin-bottom:0cm;margin-bottom:.0001pt;line-height:normal">
            <span lang="EN-US">This does work when Role A is assigned to
              the User with default relation but does not work when the
              relation is my custom one.<o:p></o:p></span></p>
          <p class="MsoNormal"
            style="margin-bottom:0cm;margin-bottom:.0001pt;line-height:normal">
            <span lang="EN-US">Adding an orderConstraint on
              relation=extension:myRelation causes it to stop working
              for the default relation, but it does not work for the
              extension relation either.<o:p></o:p></span></p>
          <p class="MsoNormal"
            style="margin-bottom:0cm;margin-bottom:.0001pt;line-height:normal">
            <span lang="EN-US">Am I missing something there or is this a
              bug? Maybe someone can give me a hint </span><span
              style="font-family:Wingdings" lang="EN-US">J</span><span
              lang="EN-US"><o:p></o:p></span></p>
          <p class="MsoNormal"
            style="margin-bottom:0cm;margin-bottom:.0001pt;line-height:normal">
            <span lang="EN-US"><o:p> </o:p></span></p>
          <p class="MsoNormal"
            style="margin-bottom:0cm;margin-bottom:.0001pt;line-height:normal">
            <span lang="EN-US">Best regards,<br>
              Martin Hoffmann<o:p></o:p></span></p>
          <p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
          <p class="MsoNormal"
            style="margin-bottom:0cm;margin-bottom:.0001pt;line-height:normal">
            <span lang="EN-US"><o:p> </o:p></span></p>
        </div>
        <br>
        <br>
        <p style="font-size: 8.0pt;">Content provided within this e-mail
          including any attachments, is for the use of the intended
          recipients and may contain Rohde & Schwarz company
          restricted information. Any unauthorized use, disclosure, or
          distribution of this communication in whole or in part is
          strictly prohibited. If you are not the intended recipient,
          please notify the sender by reply email or by telephone and
          delete the communication in its entirety.</p>
        <br>
        <fieldset class="mimeAttachmentHeader"></fieldset>
        <pre class="moz-quote-pre" wrap="">_______________________________________________
midPoint mailing list
<a class="moz-txt-link-abbreviated" href="mailto:midPoint@lists.evolveum.com" moz-do-not-send="true">midPoint@lists.evolveum.com</a>
<a class="moz-txt-link-freetext" href="http://lists.evolveum.com/mailman/listinfo/midpoint" moz-do-not-send="true">http://lists.evolveum.com/mailman/listinfo/midpoint</a>
</pre>
      </blockquote>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <pre class="moz-quote-pre" wrap="">_______________________________________________
midPoint mailing list
<a class="moz-txt-link-abbreviated" href="mailto:midPoint@lists.evolveum.com">midPoint@lists.evolveum.com</a>
<a class="moz-txt-link-freetext" href="http://lists.evolveum.com/mailman/listinfo/midpoint">http://lists.evolveum.com/mailman/listinfo/midpoint</a>
</pre>
    </blockquote>
  </body>
</html>