<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<p>Hello Peter,</p>
<p>you can use this sample: <a
href="https://github.com/Evolveum/midpoint/blob/b18553402af581474bd98a466a82c64791ab99a6/samples/tasks/bulk-actions/assign-resource-to-selected-users.xml">https://github.com/Evolveum/midpoint/blob/b18553402af581474bd98a466a82c64791ab99a6/samples/tasks/bulk-actions/assign-resource-to-selected-users.xml</a></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 16.03.2017 21:40, Peter Healy wrote:<br>
</div>
<blockquote
cite="mid:CADnbc=w9C6EenSXMfXNiVMx02vAVkqeeJxaJ=YmABm+MhrJPqQ@mail.gmail.com"
type="cite">
<div dir="ltr">Hi All,
<div>I recently added a new OpenLDAP resource to my midpoint
installation and would like to deploy a projection for all my
existing users. </div>
<div><br>
</div>
<div>Doing this in the Web UI is really easy, If I click add
project and leave everything blank this works successfully for
OpenLDAP resources since Midpoint computes a Distinguished
Name and uid for the user and maps everything OK. </div>
<div><br>
</div>
<div>But, I'd like a way to script this with an XML snippet for
an HTTP REST call or as a bulk action so I can quickly do this
for the remaining users without having to click through the UI
or all of them. </div>
<div><br>
</div>
<div>Is there a good way to do this?</div>
<div><br>
</div>
<div>Thanks,</div>
<div>Peter</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<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>
<br>
</body>
</html>