Open Closed

New User Register Event #2315


User avatar
0
shobhit created
  • ABP Framework version: v4.2.2
  • UI type: Angular
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): yes
  • Exception message and stack trace:
  • Steps to reproduce the issue:"

Hi Team, I need class and method name which get invoked when. I have to extend these class on top of existing feature, if possible please share sample.

  1. An admin user, registers a new user
  2. a user do self register
  3. A user do self login first time via LDAP/ AzureAD (user registeration is inbuilt process if user doesn't exist)
  4. A Role assigned or removed from the user

3 Answer(s)
  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi

    You can take a look at the Event-Bus https://docs.abp.io/en/abp/latest/Local-Event-Bus https://docs.abp.io/en/abp/latest/Distributed-Event-Bus

    And override the default application method/page action to tigger the event.

  • User Avatar
    0
    shobhit created

    Hello maliming, Thanks for link. But can you help me more preciously what classes i have to extend. For ex. regarding point 1, i got one answer

    1. An admin user, registers a new user

      1. In *.Application, Create new class and override IdentityUserAppService --> CreateAsync() method
    2. A user do self register

    3. A user do self login first time via LDAP/ AzureAD (user registeration is inbuilt process if user doesn't exist)

    4. A Role assigned or removed from the user

  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi

    You can try to download the Account.Pro adn Identity.Pro modules to check the code.

Made with ❤️ on ABP v8.2.0-preview Updated on March 25, 2024, 15:11