I need to set an account disabled If it's no longer present in the csv file that I read every day. How can I implement my connector to follow the desired behavior?
I need to set an account disabled If it's no longer present in the csv file that I read every day. How can I implement my connector to follow the desired behavior?
Hi,
please have a look at tech docu https://docs.oneidentity.com/bundle/one-identity-manager_csv-connector_9.3/page/sources/dpr/dprcsvsyncconfigure.htm and note the explanation to "Synchronization workflow".
See "Specifying custom processing methods"
https://support.oneidentity.com/technical-documents/identity-manager/9.3/target-system-synchronization-reference-guide/23
References VI.Projector.Database.dll
<Tag("Projector")>
<BaseObjectType("UNSAccountB")>
Public Sub CCC_Method_DisableAccount(unit As IUnitOfWork, entities As IEntity(), args As VI.Projector.Database.ScriptMethodArgs)
For Each currEntity As IEntity In entities
If Not currEntity.GetValue("AccountDisabled").Bool Then
currEntity.PutValue("AccountDisabled", True)
unit.Put(currEntity)
End If
Next
End Sub