我想为创建帐户的任何用户提供备用电子邮件ID。我必须在User Object表中提供其他列。并且还提供使用任一电子邮件ID登录的功能。
I want to provide an alternate e-Mail ID to any user who creates an account. I have to provide additional column in the User Object table. And also provide thefunctionalitytolog inusing either of the e-Mail IDs.
请帮助。
推荐答案
扩展用户配置文件系统。
Extend User Profile system.
备份SQL数据库并从Commerce服务器管理器导出当前配置文件架构进行备份
Backup your SQL database and export current profile schema from Commerce server managerfor backup
1。修改你的表
2。在Commerce Server管理器中,配置文件 - > {Machine} _ {SiteName} _Profiles - >数据源 - >数据对象 - >用户对象,添加此新列
2. In Commerce Server manager, Profiles ->{Machine}_{SiteName}_Profiles ->Data Sources -> Data Objects -> User Object, add this new column
3。在Commerce Server管理器中,配置文件 - > {Machine} _ {SiteName} _Profiles - >个人资料目录 - >简介定义 - >用户对象映射新添加的对象(参考其他属性如何映射
3. In Commerce Server manager, Profiles -> {Machine}_{SiteName}_Profiles ->Profile Catalog -> Profile Definitions -> User Object map the newly added one (refer other properties how it is mapped
4.修改metadatadefinitions.xml用户配置文件实体。
4. modify metadatadefinitions.xml User Profile entity.
5.修改您的代码(CS扩展性工具包上的UserProfile.cs,如果您正在使用)。
5. Modify your code (UserProfile.cs on CS extensibility kit if you are using).
更多推荐
如何向用户提供备用电子邮件ID。
发布评论