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: 9.0.0
Syntax
C#
public static bool IsUserAuthorizedForDepartment(
	int departmentId
)

Parameters

departmentId
Type: SystemInt32
ID of the department

Return Value

Type: Boolean
See Also