1

I would like that when an admin deletes a CiviCrm contact it also deletes the wordpress user that is linked. I am using "CiviCRM WordPress Member Sync" so when a contact is created it is added to wordpress but it doesn't delete the wp user when contact is removed. This would be quite precious for me as I know I will later need to delete so many users and I don't want to do it twice, on Civicrm and Wordpress.

Would you have a solution ?

Thanks

1 Answer 1

3

In general there is a risk of having a CMS user deleted when the CRM contact is deleted, since the CMS user can (in theory) be the author of pages, comments etc

Therefore Civicrm does not offer this directly and I think you would need to find/make a customisation/extension or see if there is a tool in WP that you could use that would make it easy to find all WP users that are not connected to a civi contact and then delete them (there are solutions for this with Drupal using Views and VBO, and potentially also Drupal Rules in case any of that provides hints for WP)

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.