You are here: Ektron Namespace > .NET Assemblies > Ektron.Cms.API Namespace > Ektron.Cms.API.Task Namespace > Classes > Task Class > Task Methods > GetTasksAssignedToUser Method > GetTasksAssignedToUser
Ektron CMS400.NET API Documentation
ContentsIndexHome
PreviousUpNext
Task.GetTasksAssignedToUser Method (Long, EkEnumeration.TaskState)

Get all tasks assigned to the user by a specified task state and returns them as array of TaskData.

C#
public TaskData[] GetTasksAssignedToUser(Long userId, EkEnumeration.TaskState taskState);
Visual Basic
Public Function GetTasksAssignedToUser(ByVal userId As Long, ByVal taskState As EkEnumeration.TaskState) As TaskData()
Parameters 
Description 
userId 
Numeric value of the User's ID. 
taskState 
The state of the task. Choices are:
  • NotStarted
  • Active
  • AwaitingData
  • OnHold
  • Pending
  • Reopened
  • Completed
  • Archived
  • Deleted 

Returns an array of TaskData.

Created with a commercial version of Doc-O-Matic. In order to make this message disappear you need to register this software. If you have problems registering this software please contact us at [email protected].
Copyright (c) 2008. All rights reserved.
What do you think about this topic? Send feedback!