[midPoint] Deleting all the accounts imported from a resource.

Prabhakara Rao Doddapaneni dp_rao at yahoo.com
Mon Jun 5 02:35:14 CEST 2017


HiI accomplished this by running a bulk-action with following definition to delete users with projection of target resource.
<s:search xmlns:s="http://midpoint.evolveum.com/xml/ns/public/model/scripting-3"          xmlns:c="http://midpoint.evolveum.com/xml/ns/public/common/common-3"          xmlns:q="http://prism.evolveum.com/xml/ns/public/query-3">    <s:type>UserType</s:type>    <s:searchFilter>        <q:ref>     <q:path>linkRef/@/resourceRef</q:path>            <q:value oid="XXXXXXX"/>        </q:ref>    </s:searchFilter>    <s:action>        <s:type>delete</s:type>    </s:action></s:search>
This may not be ideal one because i had to execute the repeatedly to delete all the accounts.
Thanks,Prabhakar.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.evolveum.com/pipermail/midpoint/attachments/20170605/ae0e74d0/attachment.htm>


More information about the midPoint mailing list