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?
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 SubSee "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