Running Python Script on User creation

Problem
I was looking on events and how to run python script on the creation of an event. However, I was unsuccessful in creating a new event that would listen when a new user is created in Plone.
I was wondering if anyone had any experience with handling events on user creation.

check this Global Event

zope.lifecycleevent.IObjectCreatedEvent

it helps maybe. or check the events of PluggableAuthService

@Phillipj1514 looking at the link from @1letter,
It looks like Products.PluggableAuthService.interfaces.events.IPrincipalCreatedEvent and
Products.PluggableAuthService.interfaces.events.IPrincipalDeletedEvent might be the events to subscribe to.

1 Like

Great thnx, it worked perfectly

1 Like

Plone Foundation Code of Conduct