More in this section

Forums / Developing with Sitefinity / Send Email to User when User Role is Changed or Updated

Send Email to User when User Role is Changed or Updated

2 posts, 0 answered
  1. Chip Gallent
    Chip Gallent avatar
    41 posts
    Registered:
    06 Nov 2009
    14 Apr 2010
    Link to this post
    I'm trying to figure out where to add the code to send an email when a user role is changed or updated. I'm looking in \Sitefinity\Admin\CmsAdmin\Users.aspx.cs and it looks like is goes in the section under "void manageUsers_ModeChanged(object sender, EventArgs e)..."

    Would that be the place?

    Thanks in Advance,
    Chip
  2. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    12 Sep 2017
    14 Apr 2010
    Link to this post
    Hello Chip Gallent,

    You have to subscribe for  manageUsers.UpdatedUser += new EventHandler(manageUsers_UpdatedUser);


    Best wishes,
    Ivan Dimitrov
    the Telerik team

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
2 posts, 0 answered