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

            Get product attribute by attribute group code in magento 2get product attribute by product attribute group in magento 2Magento 2 Log Bundle Product Data in List Page?How to get all product attribute of a attribute group of Default attribute set?Magento 2.1 Create a filter in the product grid by new attributeMagento 2 : Get Product Attribute values By GroupMagento 2 How to get all existing values for one attributeMagento 2 get custom attribute of a single product inside a pluginMagento 2.3 How to get all the Multi Source Inventory (MSI) locations collection in custom module?Magento2: how to develop rest API to get new productsGet product attribute by attribute group code ( [attribute_group_code] ) in magento 2

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

            Magento 2.3: How do i solve this, Not registered handle, on custom form?How can i rewrite TierPrice Block in Magento2magento 2 captcha not rendering if I override layout xmlmain.CRITICAL: Plugin class doesn't existMagento 2 : Problem while adding custom button order view page?Magento 2.2.5: Overriding Admin Controller sales/orderMagento 2.2.5: Add, Update and Delete existing products Custom OptionsMagento 2.3 : File Upload issue in UI Component FormMagento2 Not registered handleHow to configured Form Builder Js in my custom magento 2.3.0 module?Magento 2.3. How to create image upload field in an admin form