This functionality is embedded in the XpandSecurityWinModule/XpandSecurityWebModule depending on the platform you use. All eXpand modules are in the toolbox for fast Drag & Drop installation.
Attribute Enabled : Setting it to true two extra action Register and ForgotPassword will be activated in the Logon form as shown
UserModelClass: Here we can configure the type of user that will be created
EmailMember: This is a lookup of all members of UserModelClass and is only to save the email.
RoleModelClass && RoleCriteria: Using those two attributes we can configure which roles will be assigned to the new registered user.
Hope you find it useful and you have a lot of feedback for it in eXpand forums.
p.s. : This implementation does not send registration or pass forgotten emails. I will release a new EmailModule following the workflow presented in Declarative data auditing. Do not forget that we are talking about highly extensible modules as all XAF modules are so, In the meantime it is really easy to write a controller and send the mail you like.
Forgot to mention that there is also Password Score model member attribute you can use to validate the new password against common limits like Very Weak, Weak, Strong etc. Finally it should be possible to mix and match registration and Anonymous authentication for XAF aps.net applications
Happy XAF’ing to all!