SP.UI.ApplicationPages.ClientPeoplePickerWebServiceInterface.clientPeoplePickerSearchUser [英] SP.UI.ApplicationPages.ClientPeoplePickerWebServiceInterface.clientPeoplePickerSearchUser

查看:67
本文介绍了SP.UI.ApplicationPages.ClientPeoplePickerWebServiceInterface.clientPeoplePickerSearchUser的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们的客户要求在SharePoint Framework(SPFx)中实现人员选择器.我通过使用找到了解决方案"SP.UI.ApplicationPages.ClientPeoplePickerWebServiceInterface.clientPeoplePickerSearchUser".

Our client requirement to implement people picker in SharePoint Framework (SPFx). I found a solution by using  "SP.UI.ApplicationPages.ClientPeoplePickerWebServiceInterface.clientPeoplePickerSearchUser".

只想知道"SP.UI.ApplicationPages.ClientPeoplePickerWebServiceInterface.clientPeoplePickerSearchUser"在登录状态下运行用户上下文?如果只读用户(网站访问者组内的用户)使用人员选择器(在我们的 解决方案), "SP.UI.ApplicationPages.ClientPeoplePickerWebServiceInterface.clientPeoplePickerSearchUser"返回给定条件的用户?

just want to know "SP.UI.ApplicationPages.ClientPeoplePickerWebServiceInterface.clientPeoplePickerSearchUser" runs under login  user context ?  if  read only user ( users insides site visitors group ) uses people picker ( in our solution),   "SP.UI.ApplicationPages.ClientPeoplePickerWebServiceInterface.clientPeoplePickerSearchUser" returns users for given terms ?

请澄清.

推荐答案

以下是信息

.好消息是您可以使用 jquery-UI .确实 无需加载任何依赖的js文件,并且可以轻松实现多个人员选择器.在这篇文章中,我将向您展示示例代码,说明如何设置一个ajax rest函数来服务多个jquery-ui自动完成文本框. 端点给出

. The good news is that you can implement your own people picker using the "_api/SP.UI.ApplicationPages.ClientPeoplePickerWebServiceInterface.clientPeoplePickerSearchUser" endpoint along with jquery-UI. It does not require having to load any of the dependent js files and makes it very easy to implement multiple people pickers. In this post I will show you sample code on how you can set up one ajax rest function to service mulitple jquery-ui autocomplete text boxes. The endpoint give

https://www.concurrency.com/blog/august-2016/custom-sharepoint-form-using-office-ui-fabric-and

https://www.concurrency.com/blog/august-2016/custom-sharepoint-form-using-office-ui-fabric-and

http://sharepointfieldnotes.blogspot.com/2014/06/sharepoint-2013-clientpeoplepicker.html

http://sharepointfieldnotes.blogspot.com/2014/06/sharepoint-2013-clientpeoplepicker.html


这篇关于SP.UI.ApplicationPages.ClientPeoplePickerWebServiceInterface.clientPeoplePickerSearchUser的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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