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