Click or drag to resize
ECommerceHelperIsUserAuthorizedToModifyConfiguration Method
Checks whether the user is authorized to modify site/global e-commerce configuration.

Namespace: CMS.Ecommerce
Assembly: CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 10.0.0
Syntax
C#
public static bool IsUserAuthorizedToModifyConfiguration(
	bool global,
	string siteName,
	IUserInfo user,
	bool exceptionOnFailure
)

Parameters

global
Type: SystemBoolean
True - permission 'ConfigurationGlobalModify' is checked, False - permission 'ConfigurationGlobalModify' is checked
siteName
Type: SystemString
Site name
user
Type: CMS.BaseIUserInfo
User to be checked
exceptionOnFailure
Type: SystemBoolean
If true, PermissionCheckException is thrown whenever a permission check fails

Return Value

Type: Boolean
See Also