Quantcast
Channel: Developing Apps for SharePoint 2013 forum
Viewing all articles
Browse latest Browse all 8089

Check people picker value is user or group or both

$
0
0

Hi,

In CSOM .Net we are getting people picker value as FieldUserValue. We want to check whether the value is user or group.

How can we do it. "PrimaryLead" is a list column which accepts user or group.

primary=(FieldUserValue)listItems[0]["PrimaryLead"];

// How to check primary is user or group. if it is group we need to get users in it.


Viewing all articles
Browse latest Browse all 8089

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>