ECommerceHelper IsUserAuthorizedToModifyConfiguration Method (Boolean, String, IUserInfo, Boolean)Kentico 8.0 API Reference
Checks whether the user is authorized to modify site/global e-commerce configuration.

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

Parameters

global
Type: OnlineSystem Boolean
True - permission 'ConfigurationGlobalModify' is checked, False - permission 'ConfigurationGlobalModify' is checked
siteName
Type: OnlineSystem String
Site name
user
Type: CMS.Base IUserInfo
User to be checked
exceptionOnFailure
Type: OnlineSystem Boolean
If true, PermissionCheckException is thrown whenever a permission check fails

Return Value

Type: OnlineBoolean
See Also