Hello Erik,
For instance if you want to recover System Users you can use "aspects" parameter do as follows:
var result = Resources["SearchFunctions"].SearchPeople({
maxItems: undefined /* NUMBER */,
searchExpression: undefined,//"wup*",
modelTags: undefined /* TAGS */,
query: undefined /* QUERY */,
aspects: { isSystemObject: true },
excludedAspects: undefined /* JSON */,
maxSearchItems: undefined /* NUMBER */
}).peopleResults;
That's the only that I know and I've used.
aspects -> Aspects to match
excludeAspects -> Aspects to exclude? doesn't seem to be the inverse of aspects...
If you look at DataShape SpotlightSearch you have more fields that seems aspects, but I didn't tried it:
- isEditable
- isEditableExtensionObject
- isEditableSystemObject
- isExtension
Regards,
Carles.