如何在 DotNetNuke 4.9.2 中创建用户注册页面
我正在寻找一种在 DotNetNuke 中创建自己的用户注册页面的方法。我不想替换默认的,我只想将 dnn 注册放入我正在构建的模块中。任何有关如何解决此问题的见解都很棒,我想使用 DotNetNuke 中包含的当前会员提供程序。
I am looking for a way to create my own user registration page in DotNetNuke. I do not want to replace the default one, I just want to put dnn registration in a moduule I am building. Any insight on how to go about this would be great, I would like to use the current membership provider included with DotNetNuke.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
您需要了解的所有内容都在这里,希望这对其他人有帮助:
http://www.engagesoftware.com/Blog/EntryId/75/Membership-Provider-Video-Part-I.aspx
好的,我想与大家分享我的代码,因为这很痛苦弄清楚,但这将给出要做什么的想法:
Everything you need to know is here, hope this helps someone else:
http://www.engagesoftware.com/Blog/EntryId/75/Membership-Provider-Video-Part-I.aspx
OK I want to share my code with everyone as this was a pain to figure out, but this will give an idea of what to do:
您缺少
NewUser.PortalId
。可以将其设置为
NewUser.PortalId = PortalId;
Your missing the
NewUser.PortalId
.This can be set to
NewUser.PortalId = PortalId;