<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<p><font face="DejaVu Sans">Hi, it's me again.<br>
</font>We are running midpoint 3.4.1 and I'd like to assign a
given role to all users in a specified ou that have a particular
username (ends with ".e", ".ex" or ".ext").</p>
<p>I think it should be possible by using bulks, maybe a mashup of:</p>
<p><a class="moz-txt-link-freetext" href="https://github.com/Evolveum/midpoint/blob/master/samples/tasks/bulk-actions/recompute-users-with-a-role.xml">https://github.com/Evolveum/midpoint/blob/master/samples/tasks/bulk-actions/recompute-users-with-a-role.xml</a>
(for getting users in a given OU)</p>
<p>and <br>
</p>
<p><a class="moz-txt-link-freetext" href="https://github.com/Evolveum/midpoint/blob/master/samples/tasks/bulk-actions/assign-enduser-role-to-selected-users.xml">https://github.com/Evolveum/midpoint/blob/master/samples/tasks/bulk-actions/assign-enduser-role-to-selected-users.xml</a>
(assign a given role)</p>
<p>It looks fine, but my problem is...<br>
Is there a way to filter also by a endsWith filter in the
searchFilter or in the action tags?</p>
<p><br>
</p>
<p>Thank you all,<br>
Marco<br>
</p>
<p><br>
</p>
<p><br>
</p>
</body>
</html>