I am having 2 Single Line Of Text column for FirstName and LastName.

Now I want to get SharePoint Online users with given FirstName and LastName.

Is it possible using JavaScript REST API?

Any suggestion welcomed.


As per comments by InnovaITve Solutions and Hardik, I got solution.

Here is source

What I did is, I used following URL to make my REST Call

SiteUrl/_vti_bin/ListData.svc/UserInformationList?$filter = ((FirstName eq 'MyFirstName') and (LastName eq 'MyLastName'))

It returned me all the information I need.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.