1

I have a requirement like, user enters the last name of the person in plain text box, on button click i need to fetch the list of users with that last name using REST API.

How to achieve this ?

1
https://siteurl/sites/KM/_api/web/siteusers?$select=Title&$filter=substringof('lastname', Title)

Tested but case sensitive

0

Here is informative article which provides how to fetch the user details and profile URL using REST API

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.