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.EcommerceAssembly: CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 13.0.131
Syntax 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:
BooleanSee Also