Magento : Admin User Save After Event not WorkingNeed event observer for the import product save row controllerAdmin User create eventhow to update product attribute value after new product saveWhat event is called when an admin user is deletedCustomer after save event not triggered if admin add a customerMagento2: frontend event is not working (sales_order_place_after)event after eav attribute save Magento2Event observer not working or event not firingMagento 2 - Event equivallent to checkout_cart_product_add_after for adminCustomer save after event magento2

Do people who work at research institutes consider themselves "academics"?

Holding rent money for my friend which amounts to over $10k?

Capital gains on stocks sold to take initial investment off the table

Why is the Advance Variation considered strong vs the Caro-Kann but not vs the Scandinavian?

Is there an academic word that means "to split hairs over"?

Understanding Python syntax in lists vs series

Can my American children re-enter the USA by International flight with a passport card? Being that their passport book has expired

I recently started my machine learning PhD and I have absolutely no idea what I'm doing

Can I say: "When was your train leaving?" if the train leaves in the future?

Variance and covariance inequality

Why doesn't Iron Man's action affect this person in Endgame?

Is there any good reason to write "it is easy to see"?

My bread in my bread maker rises and then falls down just after cooking starts

Geometric inspiration behind Hal(irutan)'s Wolf(ram Language Logo)

When did game consoles begin including FPUs?

How to not get blinded by an attack at dawn

Meaning of "legitimate" in Carl Jung's quote "Neurosis is always a substitute for legitimate suffering."

Why commonly or frequently used fonts sizes are even numbers like 10px, 12px, 16px, 24px, or 32px?

Were any of the books mentioned in this scene from the movie Hackers real?

Why would company (decision makers) wait for someone to retire, rather than lay them off, when their role is no longer needed?

Slice a list based on an index and items behind it in python

Were any toxic metals used in the International Space Station?

Will there be more tax deductions if I put the house completely under my name, versus doing a joint ownership?

Wireless headphones interfere with Wi-Fi signal on laptop



Magento : Admin User Save After Event not Working


Need event observer for the import product save row controllerAdmin User create eventhow to update product attribute value after new product saveWhat event is called when an admin user is deletedCustomer after save event not triggered if admin add a customerMagento2: frontend event is not working (sales_order_place_after)event after eav attribute save Magento2Event observer not working or event not firingMagento 2 - Event equivallent to checkout_cart_product_add_after for adminCustomer save after event magento2






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;








1















I am using this code



 <adminhtml>
<admin_user_save_after>
<observers>
<my_test_admin_user_save_after_observer>
<class>MY_Test_Model_Observer</class>
<method>userSaveAfter</method>
</my_test_admin_user_save_after_observer>
</observers>
</admin_user_save_after>
</adminhtml>


This not call observer MY_Test_Model_Observer



Any idea how to call admin user save after event.










share|improve this question
























  • By admin user, do you mean System > Permission > Users or System > My Account user?

    – Jaimin Sutariya
    Mar 11 '17 at 13:47











  • Can you tell me how to get email of user with this event in magento 2

    – Kỳ Anh Vũ
    May 10 at 17:53

















1















I am using this code



 <adminhtml>
<admin_user_save_after>
<observers>
<my_test_admin_user_save_after_observer>
<class>MY_Test_Model_Observer</class>
<method>userSaveAfter</method>
</my_test_admin_user_save_after_observer>
</observers>
</admin_user_save_after>
</adminhtml>


This not call observer MY_Test_Model_Observer



Any idea how to call admin user save after event.










share|improve this question
























  • By admin user, do you mean System > Permission > Users or System > My Account user?

    – Jaimin Sutariya
    Mar 11 '17 at 13:47











  • Can you tell me how to get email of user with this event in magento 2

    – Kỳ Anh Vũ
    May 10 at 17:53













1












1








1


1






I am using this code



 <adminhtml>
<admin_user_save_after>
<observers>
<my_test_admin_user_save_after_observer>
<class>MY_Test_Model_Observer</class>
<method>userSaveAfter</method>
</my_test_admin_user_save_after_observer>
</observers>
</admin_user_save_after>
</adminhtml>


This not call observer MY_Test_Model_Observer



Any idea how to call admin user save after event.










share|improve this question
















I am using this code



 <adminhtml>
<admin_user_save_after>
<observers>
<my_test_admin_user_save_after_observer>
<class>MY_Test_Model_Observer</class>
<method>userSaveAfter</method>
</my_test_admin_user_save_after_observer>
</observers>
</admin_user_save_after>
</adminhtml>


This not call observer MY_Test_Model_Observer



Any idea how to call admin user save after event.







magento-1.9 admin event-observer customer






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Mar 11 '17 at 9:43









Dhiren Vasoya

4,67051845




4,67051845










asked Mar 11 '17 at 7:04









denish vachhanidenish vachhani

3,42021039




3,42021039












  • By admin user, do you mean System > Permission > Users or System > My Account user?

    – Jaimin Sutariya
    Mar 11 '17 at 13:47











  • Can you tell me how to get email of user with this event in magento 2

    – Kỳ Anh Vũ
    May 10 at 17:53

















  • By admin user, do you mean System > Permission > Users or System > My Account user?

    – Jaimin Sutariya
    Mar 11 '17 at 13:47











  • Can you tell me how to get email of user with this event in magento 2

    – Kỳ Anh Vũ
    May 10 at 17:53
















By admin user, do you mean System > Permission > Users or System > My Account user?

– Jaimin Sutariya
Mar 11 '17 at 13:47





By admin user, do you mean System > Permission > Users or System > My Account user?

– Jaimin Sutariya
Mar 11 '17 at 13:47













Can you tell me how to get email of user with this event in magento 2

– Kỳ Anh Vũ
May 10 at 17:53





Can you tell me how to get email of user with this event in magento 2

– Kỳ Anh Vũ
May 10 at 17:53










1 Answer
1






active

oldest

votes


















4














You cannot use admin_user_save_after event as there is no event with the specified name in magento.

If you want to run your observer function after you save a Role user, Created from System > Permissions > User, you can use below code,



<adminhtml>
<events>
<controller_action_postdispatch_adminhtml_permissions_user_save>
<observers>
<my_test_admin_user_save_after_observer>
<class>MY_Test_Model_Observer</class>
<method>userSaveAfter</method>
</my_test_admin_user_save_after_observer>
</observers>
</controller_action_postdispatch_adminhtml_permissions_user_save>
</events>
</adminhtml>


If you want to run observer function after you save main admin user from System > My Account, you can use below code,



<adminhtml>
<events>
<controller_action_postdispatch_adminhtml_system_account_save>
<observers>
<my_main_admin_user_save_after_observer>
<class>MY_Test_Model_Observer</class>
<method>userSaveAfter</method>
</my_main_admin_user_save_after_observer>
</observers>
</controller_action_postdispatch_adminhtml_system_account_save>
</events>
</adminhtml>





share|improve this answer























    Your Answer








    StackExchange.ready(function()
    var channelOptions =
    tags: "".split(" "),
    id: "479"
    ;
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function()
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled)
    StackExchange.using("snippets", function()
    createEditor();
    );

    else
    createEditor();

    );

    function createEditor()
    StackExchange.prepareEditor(
    heartbeatType: 'answer',
    autoActivateHeartbeat: false,
    convertImagesToLinks: false,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: null,
    bindNavPrevention: true,
    postfix: "",
    imageUploader:
    brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
    contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
    allowUrls: true
    ,
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    );



    );













    draft saved

    draft discarded


















    StackExchange.ready(
    function ()
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f163899%2fmagento-admin-user-save-after-event-not-working%23new-answer', 'question_page');

    );

    Post as a guest















    Required, but never shown

























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    4














    You cannot use admin_user_save_after event as there is no event with the specified name in magento.

    If you want to run your observer function after you save a Role user, Created from System > Permissions > User, you can use below code,



    <adminhtml>
    <events>
    <controller_action_postdispatch_adminhtml_permissions_user_save>
    <observers>
    <my_test_admin_user_save_after_observer>
    <class>MY_Test_Model_Observer</class>
    <method>userSaveAfter</method>
    </my_test_admin_user_save_after_observer>
    </observers>
    </controller_action_postdispatch_adminhtml_permissions_user_save>
    </events>
    </adminhtml>


    If you want to run observer function after you save main admin user from System > My Account, you can use below code,



    <adminhtml>
    <events>
    <controller_action_postdispatch_adminhtml_system_account_save>
    <observers>
    <my_main_admin_user_save_after_observer>
    <class>MY_Test_Model_Observer</class>
    <method>userSaveAfter</method>
    </my_main_admin_user_save_after_observer>
    </observers>
    </controller_action_postdispatch_adminhtml_system_account_save>
    </events>
    </adminhtml>





    share|improve this answer



























      4














      You cannot use admin_user_save_after event as there is no event with the specified name in magento.

      If you want to run your observer function after you save a Role user, Created from System > Permissions > User, you can use below code,



      <adminhtml>
      <events>
      <controller_action_postdispatch_adminhtml_permissions_user_save>
      <observers>
      <my_test_admin_user_save_after_observer>
      <class>MY_Test_Model_Observer</class>
      <method>userSaveAfter</method>
      </my_test_admin_user_save_after_observer>
      </observers>
      </controller_action_postdispatch_adminhtml_permissions_user_save>
      </events>
      </adminhtml>


      If you want to run observer function after you save main admin user from System > My Account, you can use below code,



      <adminhtml>
      <events>
      <controller_action_postdispatch_adminhtml_system_account_save>
      <observers>
      <my_main_admin_user_save_after_observer>
      <class>MY_Test_Model_Observer</class>
      <method>userSaveAfter</method>
      </my_main_admin_user_save_after_observer>
      </observers>
      </controller_action_postdispatch_adminhtml_system_account_save>
      </events>
      </adminhtml>





      share|improve this answer

























        4












        4








        4







        You cannot use admin_user_save_after event as there is no event with the specified name in magento.

        If you want to run your observer function after you save a Role user, Created from System > Permissions > User, you can use below code,



        <adminhtml>
        <events>
        <controller_action_postdispatch_adminhtml_permissions_user_save>
        <observers>
        <my_test_admin_user_save_after_observer>
        <class>MY_Test_Model_Observer</class>
        <method>userSaveAfter</method>
        </my_test_admin_user_save_after_observer>
        </observers>
        </controller_action_postdispatch_adminhtml_permissions_user_save>
        </events>
        </adminhtml>


        If you want to run observer function after you save main admin user from System > My Account, you can use below code,



        <adminhtml>
        <events>
        <controller_action_postdispatch_adminhtml_system_account_save>
        <observers>
        <my_main_admin_user_save_after_observer>
        <class>MY_Test_Model_Observer</class>
        <method>userSaveAfter</method>
        </my_main_admin_user_save_after_observer>
        </observers>
        </controller_action_postdispatch_adminhtml_system_account_save>
        </events>
        </adminhtml>





        share|improve this answer













        You cannot use admin_user_save_after event as there is no event with the specified name in magento.

        If you want to run your observer function after you save a Role user, Created from System > Permissions > User, you can use below code,



        <adminhtml>
        <events>
        <controller_action_postdispatch_adminhtml_permissions_user_save>
        <observers>
        <my_test_admin_user_save_after_observer>
        <class>MY_Test_Model_Observer</class>
        <method>userSaveAfter</method>
        </my_test_admin_user_save_after_observer>
        </observers>
        </controller_action_postdispatch_adminhtml_permissions_user_save>
        </events>
        </adminhtml>


        If you want to run observer function after you save main admin user from System > My Account, you can use below code,



        <adminhtml>
        <events>
        <controller_action_postdispatch_adminhtml_system_account_save>
        <observers>
        <my_main_admin_user_save_after_observer>
        <class>MY_Test_Model_Observer</class>
        <method>userSaveAfter</method>
        </my_main_admin_user_save_after_observer>
        </observers>
        </controller_action_postdispatch_adminhtml_system_account_save>
        </events>
        </adminhtml>






        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Mar 11 '17 at 14:04









        Jaimin SutariyaJaimin Sutariya

        9,51822055




        9,51822055



























            draft saved

            draft discarded
















































            Thanks for contributing an answer to Magento Stack Exchange!


            • Please be sure to answer the question. Provide details and share your research!

            But avoid


            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.

            To learn more, see our tips on writing great answers.




            draft saved


            draft discarded














            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f163899%2fmagento-admin-user-save-after-event-not-working%23new-answer', 'question_page');

            );

            Post as a guest















            Required, but never shown





















































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown

































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown







            Popular posts from this blog

            Category:9 (number) SubcategoriesMedia in category "9 (number)"Navigation menuUpload mediaGND ID: 4485639-8Library of Congress authority ID: sh85091979ReasonatorScholiaStatistics

            Circuit construction for execution of conditional statements using least significant bitHow are two different registers being used as “control”?How exactly is the stated composite state of the two registers being produced using the $R_zz$ controlled rotations?Efficiently performing controlled rotations in HHLWould this quantum algorithm implementation work?How to prepare a superposed states of odd integers from $1$ to $sqrtN$?Why is this implementation of the order finding algorithm not working?Circuit construction for Hamiltonian simulationHow can I invert the least significant bit of a certain term of a superposed state?Implementing an oracleImplementing a controlled sum operation

            Magento 2 “No Payment Methods” in Admin New OrderHow to integrate Paypal Express Checkout with the Magento APIMagento 1.5 - Sales > Order > edit order and shipping methods disappearAuto Invoice Check/Money Order Payment methodAdd more simple payment methods?Shipping methods not showingWhat should I do to change payment methods if changing the configuration has no effects?1.9 - No Payment Methods showing upMy Payment Methods not Showing for downloadable/virtual product when checkout?Magento2 API to access internal payment methodHow to call an existing payment methods in the registration form?