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.