This video shows how to perform SharePoint search queries with CSOM and personalize the results based on information on the users profile.
The video shows following topics:
- Use Search APIs from provider hosted add-in
- Access user profile information using CSOM from provider hosted add-in
- Modify search query based on user profile properties
The sample code used in the video is available on PnP: