Class UserProviderSmartSearchBase
- Namespace
- Dynamicweb.SmartSearch.DataProviders
- Assembly
- Dynamicweb.SmartSearch.dll
A user smart search data provider.
Inherit from ConfigurableAddIn class.
public abstract class UserProviderSmartSearchBase : SmartSearchDataProvider<IEnumerable<User>>, ICloneable
- Inheritance
-
UserProviderSmartSearchBase
- Implements
- Inherited Members
Methods
ClearUserSmartSearchesCache()
Clear user provider smart searches cache.
public abstract void ClearUserSmartSearchesCache()
GetUserSmartSearches(int)
Get smartsearch id which returns specified user id.
public abstract IEnumerable<string> GetUserSmartSearches(int userID)
Parameters
userID
int- The user id.
Returns
- IEnumerable<string>
- A collection of smartsearch id
GetUserSmartSearches(int, IEnumerable<string>)
Get smartsearch id which returns specified user id.
public virtual IEnumerable<string> GetUserSmartSearches(int userId, IEnumerable<string> smartSearches)
Parameters
userId
int- The user id.
smartSearches
IEnumerable<string>- Limit smarsearches to specified ones.
Returns
- IEnumerable<string>
- A collection of smartsearch id