CallMethod(RevokeAccountDef) on Script running on JobServer

Hi all,

I need to revoke an Active Directory account definition using a script running on JobService.

The Account Definition is directly assigned.

This is part of code:

Dim EntAcc As IEntity = session.source.get("ADSAccount",UID_Account)

EntAcc.CallMethod("RevokeAccountDef")

----

The script is executed correctly, No errors on execution, but the revoke doesn't start.

I checked the task "Revoke Account Definition" on Manager. I find that the callMethod are executed only if the parameter "Task behavior" is set to "Save required + single object only".

Could you help me ?

Best regards

Ermes

Parents Reply Children
No Data