Click or drag to resize
ECommerceHelperIsUserAuthorizedToModifyConfiguration Method (Boolean, String, IUserInfo)
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.2.23
Syntax
C#
public static bool IsUserAuthorizedToModifyConfiguration(
	bool global,
	string siteName,
	IUserInfo user
)

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

Return Value

Type: Boolean
See Also