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?
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.
Comments have been locked on this page!
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.
Comments have been locked on this page!