SharePoint SPClaimProvider 详细信息/用法

发布于 2024-11-17 11:10:43 字数 256 浏览 7 评论 0原文

我必须为 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

∞琼窗梦回ˉ 2024-11-24 11:10:43

您有机会查看这些文章吗?
如何创建声明提供程序
声明演练:为

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

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文