客户选择器未显示来自sharepoint UIL网站的已通过用户. [英] Client people picker not showing orpahned users from sharepoint UIL site.

查看:103
本文介绍了客户选择器未显示来自sharepoint UIL网站的已通过用户.的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

SPSite(UserInformationList)中的孤立用户没有显示在ClientPeoplePicker中吗?

Orphaned users in SPSite(UserInformationList) not showing in ClientPeoplePicker?

请让我知道如何将这些用户吸引到用户选择器中.

Could you please let me know the how to get those users in people picker. 

需要从Active Directory和用户信息列表(两者)中获取用户.

Need to get the users from Active Directory and User Information List(Both).

使用的密码:

< sharepoint:ClientPeoplePicker ID ="peoplepicker"; runat =服务器" PrincipalAccountType =用户" PrincipalSource =所有"/>

<sharepoint:ClientPeoplePicker ID="peoplepicker" runat="server" PrincipalAccountType="User" PrincipalSource="All"/>

谢谢

Sha

推荐答案

您可以像普通SharePoint列表一样通过CSOM获取数据,也可以使用OData Web服务.这两种方法都在下面列出.

您可以使用以下连接字符串将用户信息列表作为普通的SharePoint列表进行访问:
URL = http://< mySharePointSite>/; List =用户信息列表;身份验证= XXX;用户= XXXX;密码= XXXX
 
请注意,"Url =;"参数应该是您网站的基础,不包括库.

您还可以使用SharePoint的OData Web服务来访问信息,并且这种限制似乎比使用CSOM访问信息的限制要少.它使用以下连接字符串:
url = http://< mySharePointSite>/_vti_bin/listdata.svc; Collection = UserInformationList;身份验证= XXXX;用户= XXXX;密码= XXXX
You can get to the data either through CSOM as you would a normal SharePoint list, or you can use the OData web services. Both methods are listed below.

You can reach the User Information List as a normal SharePoint list with the following connection string:
​Url=http://<mySharePointSite>/; List=User Information List; Authentication=XXX; user=XXXX; password=XXXX
 
Note that the "Url=;" parameter should be the base for your site, not including libraries. 

You can also use SharePoint's OData web services to access the information and this also appears to be less restrictive than accessing it with CSOM. It uses the following connection string:
​​url=http://<mySharePointSite>/_vti_bin/listdata.svc; Collection=UserInformationList; Authentication=XXXX; user=XXXX; password=XXXX​


这篇关于客户选择器未显示来自sharepoint UIL网站的已通过用户.的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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