SupplierInfoProviderIsUserAuthorizedToModifySupplier Method (Boolean, String, IUserInfo) |
Indicates if user is authorized to modify suppliers.
Namespace: CMS.EcommerceAssembly: CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 8.2.23
Syntax public static bool IsUserAuthorizedToModifySupplier(
bool global,
string siteName,
IUserInfo user
)
Parameters
- global
- Type: SystemBoolean
For global suppliers (global = True): 'EcommerceGlobalModify' permission is checked.
For site-specific suppliers (global = False): 'EcommerceModify' OR 'ModifySuppliers' permission is checked. - siteName
- Type: SystemString
Site name - user
- Type: CMS.BaseIUserInfo
User to be checked
Return Value
Type:
BooleanSee Also