Click or drag to resize
DiscountInfoProviderIsUserAuthorizedToReadDiscount Method
Indicates if user is authorized to read discount.

Namespace: CMS.Ecommerce
Assembly: CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 9.0.0
Syntax
C#
public static bool IsUserAuthorizedToReadDiscount(
	SiteInfoIdentifier site,
	IUserInfo user
)

Parameters

site
Type: CMS.DataEngineSiteInfoIdentifier
Site identifier
user
Type: CMS.BaseIUserInfo
User to be checked

Return Value

Type: Boolean
See Also