1 Reply Latest reply on Oct 28, 2011 10:11 AM by Thomas Delhoménie

    Handling user creation

    Oleg Potiy Newbie

      Good day.


      Have following question: is it possible to handle user creation moment (using user creation tool)?

      The task is to fill some external DB data for newly every created user in GateIn.


      Have found some info about org.exoplatform.services.organization.impl.NewUserEventListener. Am I on the right way?

        • 1. Re: Handling user creation
          Thomas Delhoménie Newbie



          yes you are on the right way.

          Extend the org.exoplatform.services.organization.UserEventListener class (as org.exoplatform.services.organization.impl.NewUserEventListener does), then declare this listener in the configuration :










                <description>this listener is called when an user is created/updated/deleted</description>






          You can now add your code before or after an user is created.