I have a list with a people column called AssignedTo. I'm making a rest call:
.../_api/web/Lists/GetByTitle('listname')/Items?$expand=AssignedTo&$select=*,AssignedTo/Title
Which is successfully returning the name of the person the item was assigned to. I'm trying to get other user information like email or their user id.
Most tutorials online show how to expand ID and Title (Name) and from this blog I found a list of these properties that can be expanded:
- ID
- FirstName
- LastName
- Title
- Department
- SipAddress
And those all work. But I can't find the email and or the login ID. I've tried $select=AssignedTo/LoginName and several other variations on that, but they all return that the field is not valid. I was hoping $select=AssignedTo/* would expand all the fields, but that doesn't rework either.
Anyone know if the above are the only fields that can be expanded off a people column?