SharePoint SPClaimProvider 详细信息/用法
我必须为 PeoplePicker 实现我自己的 SPClaimProvider。有一些方法可以覆盖。问题:我无法弄清楚一些方法/参数的用法。所有这些方法都是特定于权利要求的。
示例:
- FillClaimValueTypes 方法。什么是索赔值类型?这是什么意思?
- 方法FillSearch,参数hierarchyNodeID,searchTree - 这一切是关于什么的?我该如何使用这个?
有想法吗?
I have to implement my own SPClaimProvider for PeoplePicker. There are some methods to override. Problem: I can't figure out some methods/parameters usage. All of these methods are claims specific.
Examples:
- method FillClaimValueTypes. What is claim value type? What doest it mean?
- method FillSearch, parameters hierarchyNodeID, searchTree - what this all is about? How can I use this?
Got ideas?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您有机会查看这些文章吗?
如何创建声明提供程序
声明演练:为
FillClaimValueTypes 编写 SharePoint 2010 声明提供程序 - 只是一个列表它也必须匹配 FillClaimTypes 的顺序。这是您的提供商在索赔方面添加的内容。该类型是一个命名空间,即。例如 http://mystuff/claims/myspecialclaim - 它是一个区分标识符。
查看此内容以了解场中的哪个进程调用了哪些方法了解调用您的声明提供者的流程
还有其他示例。南希·布朗有一个很好的系列:
自定义声明提供程序:分层声明 - 第 1 部分,背景
Have you had a chance to check out these articles?
How to create a claims provider
Claims Walkthrough: Writing Claims Providers for SharePoint 2010
for FillClaimValueTypes - just a list that must match order of FillClaimTypes as well. This is what your provider adds in terms of claims. The type is a namespace, ie. such as http://mystuff/claims/myspecialclaim - it's a distinguishing identifier.
Check out this to see what methods are called by which process in your farm Know what process is calling your Claim Provider
There are other samples out there. Nancy Brown has a good series:
Custom Claims Providers: Hierarchical Claims - Part 1, background