自定义 MOSS 人物选取器 (PeopleEditor) 控件 [英] Customize MOSS People Picker (PeopleEditor) Control

查看:16
本文介绍了自定义 MOSS 人物选取器 (PeopleEditor) 控件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我修改了 MOSS 2007 配置以成功查询给定的目标 AD.我想在 PeopleEditor 控件中显示一些自定义 LDAP 字段(例如国家/地区)并允许用户搜索这些字段.有人可以向我指出显示如何执行此操作的有用资源/教程吗?

谢谢,MagicAndi.

解决方案

您需要从 EntityEditor 控件继承(就像 PeopleEditor 一样)并编写您自己的查询和验证.

一些背景(阅读社区内容):

除了这些链接和使用 Reflector 仔细研究 PeopleEditor 控件之外,另一个很好的资源是 这篇来自 Igor Kozlov 的博文.有一个不太详细但仍然有用的此处的 MSDN 示例.>

我正在开发 一个 CodePlex 项目,该项目从人员选择器中查询任何给定的 Active Directory.它有据可查,并结合了网络上各种参考资料中的技术(当然值得称赞).希望它也能帮助别人!

I have modified my MOSS 2007 configuration to query a given target AD successfully. I would like to show some custom LDAP fields (such as country) in the PeopleEditor control and allow users to search against these fields. Can someone point me towards useful resources/tutorials showing how to do this?

Thanks, MagicAndi.

解决方案

You need to inherit from the EntityEditor control (just as PeopleEditor does) and write your own queries and validation.

Some background (read community content):

Along with these links and carefully studying the PeopleEditor control with Reflector, another good resource is this blog post from Igor Kozlov. There's a less detailed but still useful example on MSDN here.

I'm working on a CodePlex project that queries any given Active Directory from a people picker. It's well documented and combines techniques from the various references out on the web (giving credit of course). Hope it helps someone as well!

这篇关于自定义 MOSS 人物选取器 (PeopleEditor) 控件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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