自定义MOSS People Picker(PeopleEditor)控件 [英] Customize MOSS People Picker (PeopleEditor) Control

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

问题描述

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

谢谢MagicAndi.

解决方案

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

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

通过这些链接并使用Reflector仔细研究PeopleEditor控件,另一个好的资源是示例. >

我正在研究一个CodePlex项目,该项目可以从人员选择器中查询任何给定的Active Directory.它有充分的文档记录,并结合了Web上各种参考文献中的技术(当然值得赞扬).希望它也能帮助到别人!

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 People Picker(PeopleEditor)控件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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