Creation of Member Areas

How does Plone create "Member Areas"? IIRC, they are created after initial login. Is it via an event handler? via IInitialLogin? Where in the source code can I have a look? I know that the membership tool has a createMemberarea/createMemberArea method. But where is it actually used in Plone?


Do these help?

Thank you for the reply, Steve.

Unfortunately, I was not able to find the information from the links you recommended.

My adapter for the IInitialLogin interface is working for me to create custom user or group home folders. However, I am still interested in finding where in Products.CMFPlone is the actual code that triggers the creation of a user's home folder on initial login. I was looking for it when I was reviewing my strategies to implement my custom feature. I was not able to find it by grepping the source code and Internet searches.

The login form calls membership_tool.loginUser() here: Products.CMFPlone/Products/CMFPlone/browser/login/ at master · plone/Products.CMFPlone · GitHub

And loginUser calls createMemberArea here: Products.PlonePAS/src/Products/PlonePAS/tools/ at 00d50e26a5aa652fd1aedb32388c9a94279f79b8 · plone/Products.PlonePAS · GitHub

Thanks, David! This is what I was looking for.