Click or drag to resize
DiscountCouponInfoProviderIsUserAuthorizedToModifyDiscountCoupon Method (DiscountCouponInfo, String, IUserInfo)
Indicates if user is authorized to modify specific discount coupon. For global discount coupon: 'EcommerceGlobalModify' permission is checked. For site-specific discount coupon: 'EcommerceModify' OR 'ModifyDiscounts' permission is checked.

Namespace: CMS.Ecommerce
Assembly: CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 8.2.23
Syntax
C#
public static bool IsUserAuthorizedToModifyDiscountCoupon(
	DiscountCouponInfo coupon,
	string siteName,
	IUserInfo user
)

Parameters

coupon
Type: CMS.EcommerceDiscountCouponInfo
Discount coupon to be checked
siteName
Type: SystemString
Site name
user
Type: CMS.BaseIUserInfo
User to be checked

Return Value

Type: Boolean
See Also