从 Web 服务创建 Sharepoint 用户
我正在对我们已经实现的 Sharepoint 项目的可行性进行一些研究。基本上,我们正在考虑使 SP 站点上的用户与外部系统保持同步。尽管我们熟悉 ASP.net,但我们以前没有 SP 经验。
那么,我们需要的是通过Web服务创建用户并设置SP用户的用户角色的能力。我读到 SP 没有自己的用户,他们来自 AD 或 SQL DB 等。我在 UserGroup Web 服务下看到的 API 方法表明我无法真正执行我正在寻找的操作。例如,我无法通过 WS 在 SP 上创建具有给定用户名和密码的用户。 这是正确的吗?
如果是这样,是否意味着我们必须直接针对包含 ASPNET 成员资格表的 SQL DB 进行编码?或者是否有我们可以在 SP 主机上部署的第 3 方组件来公开我们所需的用户管理功能?
I'm doing a some research on the feasiblity of a Sharepoint project that has come our way. Basically, we are looking at keeping users on the SP site and an external system in sync. We have no prior experience with SP though we are familiar with ASP.net.
So, what we need is the ability to create users and set user role of SP users through web services. I have read that SP doesn't have it's own users and they come from AD or SQL DB etc. And the API methods I've seen under UserGroup web service indicates that I cannot really do what I'm looking for. E.g. I can't create a user with a given username and password on SP, over WS.
Is this correct?
If so, does that mean we have to directly code against the SQL DB containing the ASPNET membership tables? Or is there a 3rd party component that we can deploy on the SP host that will expose the user management functionality we require?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
你是对的。 SharePoint 本身不管理身份验证;你需要一种不同的方法。例如:NTLM、LDAP、数据库或第三方。更多信息请参见:http://technet.microsoft.com/en-us/library /cc262350.aspx。
一旦您能够对用户进行身份验证,您就可以使用 SharePoint Web 服务向用户授予对 SharePoint 中内容的权限。
You are correct. SharePoint itself doesn't manage authentication; you'll need a different method. For example: NTLM, LDAP, database, or third party. More info here: http://technet.microsoft.com/en-us/library/cc262350.aspx.
Once you are able to authenticate users, you then use the SharePoint web services to give users permission to content within SharePoint.
这可能会帮助您前进吗?
Might this get you along the way?