SearchResults Constructor |
Constructor
Namespace: CMS.SearchAssembly: CMS.Search (in CMS.Search.dll) Version: 13.0.131
Syntax public SearchResults(
IUserInfo user,
List<string> inRoles,
List<string> notInRoles,
List<int> siteIds,
List<SearchIndexInfo> indexes
)
Parameters
- user
- Type: CMS.BaseIUserInfo
User to check against - inRoles
- Type: System.Collections.GenericListString
Returns results belonging to this roles - notInRoles
- Type: System.Collections.GenericListString
Returns results not belonging to these roles - siteIds
- Type: System.Collections.GenericListInt32
Site IDs for search - indexes
- Type: System.Collections.GenericListSearchIndexInfo
Indexes to search
See Also