ProjectTaskInfoProviderGetUserActiveTasksCount Method |
Returns count of active tasks for current user.
Namespace: CMS.ProjectManagementAssembly: CMS.ProjectManagement (in CMS.ProjectManagement.dll) Version: 8.2.23
Syntax public static int GetUserActiveTasksCount(
int userId,
string sitename,
bool includeFinished,
bool includeNotStarted
)
Parameters
- userId
- Type: SystemInt32
User ID - sitename
- Type: SystemString
Site name, if site name is not defined select tasks from all sites - includeFinished
- Type: SystemBoolean
Indicates whether finished tasks should be included in active tasks - includeNotStarted
- Type: SystemBoolean
Indicates whether not started tasks should be included in active tasks
Return Value
Type:
Int32See Also