Click or drag to resize
SearchResults Constructor
Constructor

Namespace: CMS.Search
Assembly: CMS.Search (in CMS.Search.dll) Version: 12.0.0
Syntax
C#
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