Click or drag to resize
ECommerceContextIsUserAuthorizedForDepartment Method
Checks whether current user is authorized to access products from the specified department.

Namespace: CMS.Ecommerce
Assembly: CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 8.2.23
Syntax
C#
public static bool IsUserAuthorizedForDepartment(
	int departmentId
)

Parameters

departmentId
Type: SystemInt32
ID of the department

Return Value

Type: Boolean
See Also