Quantcast
Channel: SharePoint 2013 - Development and Programming forum
Viewing all articles
Browse latest Browse all 7589

How to get all items that belong to current User

$
0
0

Say, we have a list with a people field. When a users login site, how to get all items from the list that belongs to this user. This means that it will get all items that their value people field equals current user. I try expanding values of the people field but those value does not map with the user property value.

I did try:

From the list: http://mysite/_api/web/lists/getbytitle('Notifications')/items?$select=Owner/EMail,Owner/Title,Owner/Name&$expand=Owner

http://mysite/_api/Web/CurrentUser?$select=Id,EMail,LoginName,Name

Please advise.


Viewing all articles
Browse latest Browse all 7589

Trending Articles



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