SharePoint FBA 和自定义数据 - SharePoint 2010
我这样做对吗?
我有一个客户,他们目前有一个供用户使用的门户,他们的所有用户都在 Oracle 数据库中。他们想要迁移到 SharePoint 2010。
用户将通过他们的用户名和密码登录到该网站,我需要从他们现有的数据库中迁移这些信息。用户还拥有帐户信息,我需要从 Oracle 中的现有数据库(通过从 Web 前端到 Oracle 数据库的 VPN 隧道)查询这些信息。
- 用于用户认证; ASP.NET 会员 - 我尝试将我的应用程序配置为在 FBA 下运行。 aspnet_regsql.exe 应用程序在我的数据库(以及一大堆其他数据库)中创建了用户和角色表。我需要添加 account_id(这是客户端数据库的外键)以及名字和姓氏(我们将存储并需要在应用程序中显示它们)。
在哪里创建 account_id 和其他需要与用户关联的字段?
ASPNET 配置文件表与 API 中的 SharePoint 配置文件表相同吗?我如何填充这个数据库来尝试?
通过IIS?我是否需要编写自定义注册 Web 部件,或者我可以以某种方式将自定义列添加到配置文件并在可视 Web 部件中重新配置 ASP.NET 用户注册控件吗?
预先感谢您的帮助!
Am I doing this right?
I have a client, they currently have a portal for their users, all their users are in an oracle database. They want to move to SharePoint 2010.
The user will log into the site via their username and password, which I will need to migrate from their existing database. The users also have account information, which I'll need to query FROM their existing database in Oracle (over a VPN tunnel from the web front end to their Oracle DB).
- For the user authentication;
ASP.NET Membership -
I tried to configure my application to run under FBA. The aspnet_regsql.exe application created Users and Roles tables in my database (and a whole bunch of other ones). I need to add account_id, which is a foreign key to the client's database, and firstname, last name, which we'll store and need to surface on our application.
Where to I create the account_id and other fields that need to be associated to the user?
Is the ASPNET Profile table the same as the SharePoint Profile from the API? How do I populate this database to try?
Through IIS? Do I need to write a custom registration webpart, or can I somehow add custom columns to the profile and reprovision the ASP.NET user registration control in a visual webpart?
Thanks in advance for the help!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
尝试新的 ASP.Net 身份系统。
ASP.NET 身份简介
和
自定义用户配置文件以在全新数据库表中添加新字段 这里
try the new ASP.Net Identity System.
Introduction to ASP.NET Identity
and
Customizing User's Profile to add new fields in brand new database table here