Click or drag to resize
SKUInfoProviderIsUserAuthorizedToModifySKU Method (SKUInfo, String, IUserInfo)
Indicates if user is authorized to modify specific SKU. For global SKU: 'EcommerceGlobalModify' permission is checked. For site-specific SKU: 'EcommerceModify' OR 'ModifyProducts' permission is checked.

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

Parameters

skuObj
Type: CMS.EcommerceSKUInfo
SKU to be checked
siteName
Type: SystemString
Site name
user
Type: CMS.BaseIUserInfo
User to be checked

Return Value

Type: Boolean
See Also