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

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

Parameters

site
Type: CMS.DataEngine.SiteInfoIdentifier
Site identifier
user
Type: CMS.Base.IUserInfo
User to be checked

Return Value

Type: Boolean
See Also