---
title: sourceOptions
framework: corespotlight
role: symbol
role_heading: Instance Property
path: corespotlight/corespotlightsource/sourceoptions
---

# sourceOptions

Options you use to specify access to restricted content.

## Declaration

```swift
var sourceOptions: CSSearchQueryContext.SourceOptions
```

## Discussion

Discussion Use this property to specify access to sensitive items like email.

## See Also

### Configuring the search options

- [fetchAttributes](corespotlight/corespotlightsource/fetchattributes.md)
- [maximumResultCount](corespotlight/corespotlightsource/maximumresultcount.md)
