[Midpoint-dev] Assistance with Resource/Account provisioning operations using Webservice client

dharmendra parakh dharm.parakh at gmail.com
Mon Jan 5 15:24:38 CET 2015


Hi

can anyone provide assistance on this..


Regards
Dharmendra

On Mon, Dec 29, 2014 at 5:00 PM, dharmendra parakh <dharm.parakh at gmail.com>
wrote:

> Hi
>
> Hope you all had a nice Christmas, I wish you all a very Happy new year
> 2015 ahead.
>
> I have a requirement where i have to provision account/resource to a
> role/user in midpoint using model web service. I was able to create and
> search account using web service client (model-client-sample)
>
> - I need some pointers on how to update the account. I tried few things
> some didn't work and some worked partially. can you help me providing the
> right way or a code snippet to do it.
>
> I have attached a code snippet which replaces the role assignment and it
> works if i remove the attribute itself from construction but when i try to
> remove some values of a multi-valued attribute instead of removing those
> values it tries to add other value which are already present
>
>
> - One more thing there is a method in web service to get the owner of
> shadow account but that can be a user only, how we can get the owner of a
> shadow if that owner is a role.
>
> following is the method:
>
> *findShadowOwner(shadowOid, user, result);*
>
>
>
> Thanks & regards
> Dharmendra
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.evolveum.com/pipermail/midpoint-dev/attachments/20150105/6c00290d/attachment.html>


More information about the midPoint-dev mailing list