Using REST in SharePoint 2010, how do you select / filter list lines that belong to a registered user (be it filtering by author, editor, or by Person field)
eg.
http://myserver/_vti_bin/ListData.svc/Test?$filter=Author eq Me
I know in SP2007, using caml, you can use the UserID element, which represents the value of the current user.
EDIT: Humm, it seems Author, Editor and any other Person field are stored as Ints and renamed to CreatedById and ModifiedById. If you request a list, all you got is
<d:CreatedById m:type="Edm.Int32">1</d:CreatedById>
What if I want to return an NT username? Do I have to execute another request somewhere to get the Int value for a specific user?
source share