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

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

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

Returns an array of tasks.

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!