ECommerceHelper IsUserAuthorizedForDepartment Method Kentico 8.0 API Reference
Checks whether the user is authorized to access products from the specified department. Returns true if user is global admin or is granted with 'AccessAllDepartments' e-commerce module permission or he is administrator of the given department.

Namespace: CMS.Ecommerce
Assembly: CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 8.0.0.0 (8.0.5239.26125)

Return Value

Type: OnlineBoolean
See Also