Click or drag to resize
ICustomerPreferencesProviderGetPreferences Method
Gets customer's preferences on the site specified by site parameter.

Namespace: CMS.Ecommerce
Assembly: CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 10.0.0
Syntax
C#
CustomerPreferences GetPreferences(
	CustomerInfo customer,
	SiteInfoIdentifier site
)

Parameters

customer
Type: CMS.EcommerceCustomerInfo
Customer for who the preferences are obtained.
site
Type: CMS.DataEngineSiteInfoIdentifier
Identifier of the site for which the preferences are obtained.

Return Value

Type: CustomerPreferences
Customer's preferences on given site. Returns Unknown when customer or preferences not found.
See Also