如果已解析的用户是coloumn中的Group或User,则获取 [英] Get if the resolved user is a Group or User in a coloumn

查看:68
本文介绍了如果已解析的用户是coloumn中的Group或User,则获取的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

亲爱的专家,

我有一个带有"< g class =" gr_ gr_472 gr-alert gr_spell gr_inline_cards gr_run_anim ContextualSpelling ins-del multiReplace"数据-GR-ID =" 472" ID = QUOT; 472"> AuthorAlias< / g取代; "
作为人员或组字段。这接受一个值。

I have a List with "<g class="gr_ gr_472 gr-alert gr_spell gr_inline_cards gr_run_anim ContextualSpelling ins-del multiReplace" data-gr-id="472" id="472">AuthorAlias</g>" as a People or Group field. This accepts a single value.

因此,当我想使用Rest API访问列并获取其名字,姓氏,电子邮件ID时,我能够得到它。我使用以下REST URL。

So when I want to access the column with Rest API and get its First Name, Last Name, Email ID I was able to get that. I am using the following REST URL.


https://< MySiteAddress> / _api / web / lists / getbytitle('Controls')/ items(1)?$ Select = ID,Title,AuthorAlias / FirstName,AuthorAlias / LastName,AuthorAlias / EMail& $ expand = AuthorAlias / Id  

推荐答案

您好,

您可以使用clientpeoplepicker.js客户端库获取有关用户/组的所有信息

You can use the clientpeoplepicker.js client side library to get all the information regarding the user/group

谢谢,


这篇关于如果已解析的用户是coloumn中的Group或User,则获取的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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