Click or drag to resize
ManufacturerInfoProviderIsUserAuthorizedToModifyManufacturer Method (ManufacturerInfo, String, IUserInfo)
Indicates if user is authorized to modify specific manufacturer. For global manufacturer: 'EcommerceGlobalModify' permission is checked. For site-specific manufacturer: 'EcommerceModify' OR 'ModifyManufacturers' permission is checked.

Namespace: CMS.Ecommerce
Assembly: CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 12.0.0
Syntax
C#
public static bool IsUserAuthorizedToModifyManufacturer(
	ManufacturerInfo manufacturer,
	string siteName,
	IUserInfo user
)

Parameters

manufacturer
Type: CMS.EcommerceManufacturerInfo
Manufacturer to be checked
siteName
Type: SystemString
Site name
user
Type: CMS.BaseIUserInfo
User to be checked

Return Value

Type: Boolean
See Also