Answered

How to delete WFUser Role via SOA request

I'm using SOA to synchronize AD users with Bizagi.

I create roles based on the user groups. But how to delete user's roles with EntityManagerSOA methods?

Comments (1)

photo
1

Dear Vladimir,

With the following example we will explain you how to achieve it using saveEntity method:

<BizAgiWSParam><Entities><WFUSER key="108700"><Roles><REMOVE><idRole

key="1"></idRole></REMOVE></Roles></WFUSER></Entities></BizAgiWSParam>

In the above example you are deleting the role key="1" from the user key="108700". So, you must know the id of the role and the user to perform this action.

Hope this information works for you.

Regards.