Click or drag to resize
ECommerceContextIsUserAuthorizedToModifyDiscountCoupon Method (DiscountCouponInfo)
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: 9.0.0
Syntax
C#
public static bool IsUserAuthorizedToModifyDiscountCoupon(
	DiscountCouponInfo couponObj
)

Parameters

couponObj
Type: CMS.EcommerceDiscountCouponInfo
Discount coupon to be checked

Return Value

Type: Boolean
See Also