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: 9.0.0
Syntax
C#
public static ObjectQuery<DepartmentInfo> GetUserDepartments(
	int userId
)

Parameters

userId
Type: SystemInt32
User ID

Return Value

Type: ObjectQueryDepartmentInfo
See Also