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.EcommerceAssembly: CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 10.0.0
Syntax public static bool IsUserAuthorizedToModifyDiscountCoupon(
DiscountCouponInfo couponObj
)
Parameters
- couponObj
- Type: CMS.EcommerceDiscountCouponInfo
Discount coupon to be checked
Return Value
Type:
BooleanSee Also