如何向用户提供备用电子邮件ID。 [英] How to provide alternate e-Mail ID to a user.

查看:77
本文介绍了如何向用户提供备用电子邮件ID。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想为创建帐户的任何用户提供备用电子邮件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 the functionality to log in using either of the e-Mail IDs. 

请帮助。

推荐答案

扩展用户配置文件系统。

Extend User Profile system.

备份SQL数据库并从Commerce服务器管理器导出当前配置文件架构 进行备份

Backup your SQL database and export current profile schema from Commerce server manager for 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。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆