[midPoint] BULK: assign a role based on OrgUnit AND name

Marco Benucci m.benucci at nsr.it
Mon Feb 27 17:31:45 CET 2017


Hi, it's me again.
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").

I think it should be possible by using bulks, maybe a mashup of:

https://github.com/Evolveum/midpoint/blob/master/samples/tasks/bulk-actions/recompute-users-with-a-role.xml 
(for getting users in a given OU)

and

https://github.com/Evolveum/midpoint/blob/master/samples/tasks/bulk-actions/assign-enduser-role-to-selected-users.xml 
(assign a given role)

It looks fine, but my problem is...
Is there a way to filter also by a endsWith filter in the searchFilter 
or in the action tags?


Thank you all,
Marco



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


More information about the midPoint mailing list