Click or drag to resize
ECommerceContextIsUserAuthorizedToModifyDiscountCoupon Method (Boolean)
Indicates if user is authorized to modify discount coupons.

Namespace: CMS.Ecommerce
Assembly: CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 9.0.0
Syntax
C#
public static bool IsUserAuthorizedToModifyDiscountCoupon(
	bool global
)

Parameters

global
Type: SystemBoolean
For global discount coupons (global = True): 'EcommerceGlobalModify' permission is checked. For site-specific discount coupons (global = False): 'EcommerceModify' OR 'ModifyDiscounts' permission is checked.

Return Value

Type: Boolean
See Also