Click or drag to resize
SKUInfoProviderIsUserAuthorizedToModifySKU Method (Boolean, String, IUserInfo)
Indicates if user is authorized to modify SKUs.

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

Parameters

global
Type: SystemBoolean
For global SKUs (global = True): 'EcommerceGlobalModify' permission is checked. For site-specific SKUs (global = False): 'EcommerceModify' OR 'ModifyProducts' permission is checked.
siteName
Type: SystemString
Site name
user
Type: CMS.BaseIUserInfo
User to be checked

Return Value

Type: Boolean
See Also