通过Rest API获取用户配置文件属性时出错 [英] Error Getting User Profile Property through Rest API

查看:108
本文介绍了通过Rest API获取用户配置文件属性时出错的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我一直在使用" https://ABC.sharepoint.com/sites/Test/_api/SP.UserProfiles.PeopleManager/GetPropertiesFor(accountName = @ v)?@ v =% 27i%3A0%23.f%7Cmembership%7Ctestuser%40abc.is%27 在Sharepoint Online中

I have been using "https://ABC.sharepoint.com/sites/Test/_api/SP.UserProfiles.PeopleManager/GetPropertiesFor(accountName=@v)?@v=%27i%3A0%23.f%7Cmembership%7Ctestuser%40abc.is%27" in Sharepoint Online

但是,对于一个特定用户,尽管已映射到用户个人资料"中,却未返回任何结果.

在浏览器和代码中.

在点击URL时在浏览器上获得此输出.

< d:GetUserProfilePropertyFor   xmlns:m =" http://schemas. microsoft.com/ado/2007/08/dataservices/metadata" xmlns :georss =" http://www.georss.org/georss " />

<d:GetUserProfilePropertyFor xmlns:d="http://schemas.microsoft.com/ado/2007/08/dataservices" xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata"xmlns:georss="http://www.georss.org/georss" xmlns:gml="http://www.opengis.net/gml"/>

推荐答案

你好Mahima Sharma,

Hello Mahima Sharma,

此论坛(为Office 2013开发Apps)是与Office JavaScript API相关的开发问题,而您的问题与SharePoint开发更相关,因此我将线程移至SharePoint 2013年开发和计划论坛.

This forum(Developing Apps for Office 2013) is for development issue related to Office JavaScript API and your issue is more related to SharePoint Development, so I would move the thread to SharePoint 2013 development and program forum.

感谢您的理解,

最好的问候,

Terry


这篇关于通过Rest API获取用户配置文件属性时出错的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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