通过SharePoint 2010中的PeoplePicker在AD中搜索用户 [英] Search User in AD via PeoplePicker in SharePoint 2010
问题描述
我有很大的问题,我希望有人帮助我。
我在SharePoint 2010上开发,我尝试使用SharePoint:PeoplePicker用于AD组中的搜索用户。
我有AD组包含AD用户,而在SharePoint SPGroups中包含SPUser代表AD组。
对于搜索用户,我使用SharePoint:PeoplePicker,如果我尝试在具体的SPGroups中找到用户(AD),我总是得到0结果。
我设置了protperty < pre lang =c#> SharePoint:PeoplePicker.SharePointGroup = XXXX;
我希望有人帮助我。
试试这个:
这将接受所有类型的用户(AD和Sharepoint Groups)
< SharePoint:PeopleEditor id = PeopleEditorCorporate runa t = server IsValid = true AllowEmpty = true高度= 90px宽度= < span class =code-string> 400px
BackColor = Cornsilk SelectionSet = User,SPGroup,SecGroup,DL SharePointGroup = true AllowTypeIn = False MultiSelect = true DialogTitle = 选择人员和组s autopostback = false />< br $>
Hoope有帮助!! :)
Hi,
I have really big problem, and I hope that somebody help me.
I develop on SharePoint 2010 and I try use SharePoint:PeoplePicker for search user in AD Groups.
I have AD Group contains AD Users and in SharePoint SPGroups contains SPUser represent AD Group.
For search users I use SharePoint:PeoplePicker, if I try find users (AD) in a concrete SPGroups I always get 0 result.
I set protperty
SharePoint:PeoplePicker.SharePointGroup = "XXXX";
I hope that someone help me.
Try this:
This will accept all kind of users (AD and Sharepoint Groups)
<SharePoint:PeopleEditor id="PeopleEditorCorporate" runat="server" IsValid="true" AllowEmpty="true" Height="90px" Width="400px" BackColor="Cornsilk" SelectionSet="User,SPGroup,SecGroup,DL" SharePointGroup="true" AllowTypeIn="False" MultiSelect="true" DialogTitle="Select People and Groups" autopostback="false" />
Hoope it helps !! :)
这篇关于通过SharePoint 2010中的PeoplePicker在AD中搜索用户的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!