Ensure Members Have Logins

Context

ContextAs a member services staffer, each time a membership is created or renewed -- regardless of whether the activity was initiated on the front-end or the back-end, and regardless of whether or not the relationship is conferred -- I want the system to check for the existence of a Drupal user a...

Discussion

Discussion What is a Project Lab Feature Discussion?

Resolution

Resolution What is a Project Lab Feature Resolution?

Solution

Solution Listen on {{hook_civicrm_post()}} for qualifying membership events. Develop a method to determine whether a Drupal account exists ({{api.UFMatch.get}} should be helpful here) Create a Drupal user (see reference code when needed) Send an email notifying the user of th...

What is a Project Lab Feature?