Click or drag to resize

UserExtensions.IsProductInAnyFavoriteList Method (User, String)

Namespace:  Dynamicweb.Ecommerce.CustomerExperienceCenter.Favorites
Assembly:  Dynamicweb.Ecommerce (in Dynamicweb.Ecommerce.dll) Version: 1.12.0
Syntax
public static bool IsProductInAnyFavoriteList(
	this User user,
	string productId
)

Parameters

user
Type: Dynamicweb.Security.UserManagement.User
productId
Type: System.String

Return Value

Type: Boolean

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type User. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also