Identity Manager

Publish outstanding objects via Script (V7)


I've seen some examples of how to delete outstanding objects from the database via script using CallMethod().

My question is how can I publish/reprovision outstanding objects using script code?

In my current use-case I tried DeleteOutstanding and re-inserting AD group memberships as a workaround, but I am getting primary key violations when I execute both within one script (the outstanding object is probably not removed right away). What I actually need is a programmatic way of publishing specific objects (with or without dependencies), kind of the same way the Manager does when I click the "Publish" button.