Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Dan Evans 631 posts 1018 karma points
    Aug 15, 2012 @ 07:33
    Dan Evans
    0

    Adding Umbraco USERS (NOT MEMBERS) to Campaign Monitor

    Hi

    My client is using Campaign Monitor to communicate with the 100s of Umbraco Admin Users she has. We are trying to us Umbraco Event Handlers to update the details of these admin users as they are saved in Umbraco. However there are 2 problems:

    1. There is no AfterSave event. Using the UserSaving event handler sends through the existing user details not the saved changes. However User.FlushingFromCache seems to send through the data as I assume it is run after the new user details have been saved. Why is there no AfterSave event and is there a better way of sending this data?

    2. If a user changes their email address then there is no way of disabling them in Campaign Monitor - it uses the email as the identifier for the user so sending through a new email address adds in a new CM user. 

    What we need is an AfterSave event that has access to the old user data and the new user data, e.g. User.Email and User.OldEmail.

    Thanks

    Dan

    Running 4.7.2 / SQL Server 2008 R2 / Win 2008

Please Sign in or register to post replies

Write your reply to:

Draft