Hi Dynamicweb,
How can we avoid that missing users are deleted when importing users? We are missing a feature only to deactivate missing users to keep the history.
Best regards, Anders
Hi Dynamicweb,
How can we avoid that missing users are deleted when importing users? We are missing a feature only to deactivate missing users to keep the history.
Best regards, Anders
Hi Anders,
You should be able to accomplish that by updating the AccessUserValidTo for imported users instead of using the "remove missing users" feature.
Users that are no longer part of the import will not have the AccessUserValidTo updated and will expire at some point.
The first time you might need to manually reset the AccessUserValidTo for all previously imported users to ensure that they will expire.
Best regards,
Morten
Hi Morten,
Thanks for quick reply. I do not think that will be a good approach as you will not be able instant to block a customer in the ERP to have access to your shop. And if your imports are not running when all users will be blocked.
Do you have another work around? :-)
Best regards, Anders
You could include information about the "inactive" users in the data from ERP and set the AccessUserActive state based on that?
Otherwise I have no suggestions but to add some custom code...
A) Implement a custom notification subscriber for the Dynamicweb.DataIntegration.Integration.Notifications.Integration.JobFinished notification and deactivate the users that has not been updated.
B) Implement a custom notification subscriber for the Dynamicweb.Notifications.Standard.User.OnBeforeExtranetLogin notification and validate the user against the ERP.
Maybe someone else has a better suggestion :)
Hi Morten,
Alright, can you please consider to have this included in a future release to deactive users instead of deleting (as you have for products)?
Best regards, Anders
Hi Anders,
Thanks for your input. The feature has been added to our backlog.
TFS 57386: UserProvider - Deactivate missing users
Best regards,
Morten
Hi Morten,
Has the feature reached the streets?
Best regards, Anders
Nope... Just asked for an estimate. Will get back
Hi Anders
The feature #57386 regarding "UserProvider - Deactivate missing users" has now been implemented in Dynamicweb version 9.6.8
To upgrade please download this version from DOC:
https://doc.dynamicweb.com/rapido/download
Let me know if you need any more help regarding this
Kind Regards
Dynamicweb Support
Kristian Kirkholt
You must be logged in to post in the forum