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: 8.2.23
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