November Happy Hour will be moved to Thursday December 5th.
AI OnAI Off
November Happy Hour will be moved to Thursday December 5th.
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