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 ?

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

Tested but case sensitive


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

Your Answer

