Click or drag to resize
SupplierInfoProviderIsUserAuthorizedToModifySupplier Method (SupplierInfo, String, IUserInfo)
Indicates if user is authorized to modify specific supplier. For global supplier: 'EcommerceGlobalModify' permission is checked. For site-specific supplier: 'EcommerceModify' OR 'ModifySuppliers' permission is checked.

Namespace: CMS.Ecommerce
Assembly: CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 12.0.0
Syntax
C#
public static bool IsUserAuthorizedToModifySupplier(
	SupplierInfo supplier,
	string siteName,
	IUserInfo user
)

Parameters

supplier
Type: CMS.EcommerceSupplierInfo
Supplier to be checked
siteName
Type: SystemString
Site name
user
Type: CMS.BaseIUserInfo
User to be checked

Return Value

Type: Boolean
See Also