Class UserProductsMacro
- Namespace
- Dynamicweb.Ecommerce.Indexing
- Assembly
- Dynamicweb.Ecommerce.dll
Represents user macro
- Inheritance
-
User
Products Macro
- Inherited Members
Properties
Name
Gets the name.
Property Value
- string
The name.
SupportedActions
Gets the supported actions.
Property Value
- IEnumerable<Macro
Action > The supported actions.
Methods
ClearDefaultFavoritesCache(int)
Clears the cache for default favorite list for user or group.
Parameters
userOrGroupId
intUser or group id
ClearGroupUsersFavoriteCache(UserGroup, int)
Clears the cache for all users in the group
Parameters
ClearUserDefaultFavoritesCache(User)
Clears the cache for default favorite list for user.
Parameters
user
UserThe user
ClearUserFavoritesCache(User, int)
Clears the cache for user
Parameters
ClearUserFavoritesCache(int, int)
Clears the cache for user or group
Parameters
Evaluate(MacroAction)
Evaluates the specified action.
Parameters
action
MacroAction The action.
Returns
- object
The value of the action that was evaluated;
null
if the action did not evaluate to a specific value.