DiscountCouponInfoProvider IsUserAuthorizedToModifyDiscountCoupon Method (Boolean, String, IUserInfo)Kentico 8.1 API Reference
Indicates if user is authorized to modify discount coupons.

Namespace: CMS.Ecommerce
Assembly: CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 8.0.0.0 (8.1.5347.20411)

Parameters

global
Type: OnlineSystem Boolean
For global discount coupons (global = True): 'EcommerceGlobalModify' permission is checked. For site-specific discount coupons (global = False): 'EcommerceModify' OR 'ModifyDiscounts' permission is checked.
siteName
Type: OnlineSystem String
Site name
user
Type: CMS.Base IUserInfo
User to be checked

Return Value

Type: OnlineBoolean
See Also