Click or drag to resize
DepartmentInfoProviderGetUserDepartments Method
Returns dataset of all departments for specified user.

Namespace: CMS.Ecommerce
Assembly: CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 8.2.23
Syntax
C#
public static ObjectQuery<DepartmentInfo> GetUserDepartments(
	int userId
)

Parameters

userId
Type: SystemInt32
User ID

Return Value

Type: ObjectQueryDepartmentInfo
See Also