[midPoint] API Call or Bulk Action to Add Projection on resource for Many Users

Pavol Mederly mederly at evolveum.com
Fri Mar 17 09:41:31 CET 2017


Hello Peter,

you can use this sample: 
https://github.com/Evolveum/midpoint/blob/b18553402af581474bd98a466a82c64791ab99a6/samples/tasks/bulk-actions/assign-resource-to-selected-users.xml

Best regards,

Pavol Mederly
Software developer
evolveum.com

On 16.03.2017 21:40, Peter Healy wrote:
> Hi All,
> I recently added a new OpenLDAP resource to my midpoint installation 
> and would like to deploy a projection for all my existing users.
>
> 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.
>
> 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.
>
> Is there a good way to do this?
>
> Thanks,
> Peter
>
>
> _______________________________________________
> midPoint mailing list
> midPoint at lists.evolveum.com
> http://lists.evolveum.com/mailman/listinfo/midpoint

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.evolveum.com/pipermail/midpoint/attachments/20170317/a65fb84e/attachment.htm>


More information about the midPoint mailing list