Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out more
AI OnAI Off
Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out more
Found a solution:
This is the event to listen to:
StarSuite.Core.Settings.DefaultSecurity.CreatedUser += new StarSuite.Core.Modules.Security.UserCreateEventHandler(DefaultSecurity_CreatedUser);
I've created an Eventlistener class which in it's most basic form is suppose to handle the CreatedUser event and add a default "my images" gallery for the created user.
When i run my project in debug mode, it runs the OnApplicationStart but the CreatedUser event never seems to be triggered when I add a user throught the administration interface.
This is how i bind the event in OnApplicationStart:
StarCommunity.Core.StarCommunitySystem.CurrentContext.DefaultSecurity.CreatedUser += new StarSuite.Core.Modules.Security.UserCreateEventHandler(DefaultSecurity_CreatedUser);
Did I miss something or is there any other way to get to the CreatedUser event?
Regards,
Kim