<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p>Ok, nevermind, <span id="result_box" class="short_text"
lang="en"><span class="">I managed it in a different way. All
works!<br>
</span></span></p>
<br>
<div class="moz-cite-prefix">W dniu 19.12.2017 o 12:43, Wojciech
Staszewski pisze:<br>
</div>
<blockquote type="cite"
cite="mid:b819a17f-22ce-39f5-ca39-4cc344ad2a6c@diagnostyka.pl">
<pre wrap="">Hello!
I need to find a function for use in object (role) template,
that returns "OID" and "name" of the resource from which the
entitlements are imported into roles.
The template is used in synchronization task (Unmatched->addFocus).
I have to make a mapping that writes resource OID to extension attribute
of the imported role,
and create Org that matches resource name (and assign imported role to
that Org).
I know how to do the mapping and all the rest, but I don't know how to
get the source values of the resource.
For most of you it is a piece of cake for sure, but there is so many
functions/methods so I am lost...
Thanks!
WS
_______________________________________________
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>
<br>
<pre class="moz-signature" cols="72">--
Wojciech Staszewski
Administrator Systemów Sieciowych
tel. kom: 663 680 236
<a class="moz-txt-link-abbreviated" href="http://www.diagnostyka.pl">www.diagnostyka.pl</a>
Diagnostyka Sp. z o. o.
ul. Prof. M. Życzkowskiego 16, 31-864 Kraków
Numer KRS: 0000381559 (Sąd Rejonowy dla Krakowa-Śródmieścia w Krakowie, XI Wydział Gospodarczy KRS)
NIP: 675-12-65-009; REGON: 356366975
Kapitał zakładowy: 33 756 500 zł.
Pomyśl o środowisku zanim wydrukujesz ten e-mail.</pre>
</body>
</html>