用户个人资料信息存储在 Dotnetnuke 数据库中的哪里?
这是我所处的情况:
我刚刚实现了一个 DNN 站点。我已经有一个巨大的用户数据库表。现在,当我的用户注册我的 DNN 网站时,他们需要输入名字、姓氏和出生日期。然后,我将使用此信息通过 SQL 查询将其记录与现有用户表进行匹配。唯一的问题是我在任何地方、任何表中都找不到“DOB”字段,或者在大多数其他个人资料信息中都找不到“DOB”字段。它甚至存储在数据库中吗?或者我只是盲目的?
我能找到的最好答案来自 dnn 论坛,其中指出
“用户配置文件信息存储在数据库中的多个表中。“用户”表是基本信息的起始位置。有几个名称中包含“配置文件”的表也很重要。”
我几乎浏览了数据库中的每个表,但没有运气...
我将 DNN 6.0 与 SQL Server 2008 一起使用,
我到处都找过了,但找不到它。任何人的帮助或指导将不胜感激!即使是像预构建模块这样的付费解决方案也可以工作。
谢谢
Here is the situation I'm in:
I just implemented a DNN site. I already have a huge database table of users. Now when my users come in to register for my DNN site, they're required to put in a first name, last name and DOB. I will then use this information to match their records to the existing user table via a SQL query. The only problem is I can't find "DOB" field anywhere, in any table or for that matter most of the rest of the profile information. Is it even stored in the database? or am I just blind?
The best answer I could find was from a dnn forum which stated
"User profile information is stored in several tables in the database. The 'Users' table is the place to start for basic information. There are several tables that have "profile" in the name that also are important."
I've looked through almost every table in the database, but with no luck...
I'm using DNN 6.0 with SQL Server 2008
I've looked everywhere but can't find it. Any help or guidance from anyone would be much appreciated! Even a paid solution like a pre-built module would work.
Thanks
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
在
ProfilePropertyDefinition
表中查找 dateOfBirth 属性的PropertyDefinitionId
。然后,使用该 ID 和用户的 ID,您可以查询UserProfile
表来检索该值。这篇博文还有更多内容
http://erikvanballegoij.com/Home/itemid/28 /选择配置文件属性的简单方法
Look in the
ProfilePropertyDefinition
table for thePropertyDefinitionId
of the dateOfBirth property. Then, with that id, and the id of the user, you can query theUserProfile
table to retrieve the value.There is more at this blog post
http://erikvanballegoij.com/Home/itemid/28/Selecting-profile-properties-the-easy-way