I'm using REST API to get search results from a subsite. What I want to do is to include results from a particular Document Library based on if the property from the user's User Profile is set to true
.
- If property1 = Yes - Include results from DocLib1
- If property1 = No - DO not include results from DocLib1
Is is possible to do ?