SPWorkflowAssignedToFilter Enumeration

Provides values that enable the filtering of workflows or workflow task collections based on who is assigned to those workflows or tasks, or the workflow state.

Namespace:  Microsoft.SharePoint.Workflow
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online

public enum SPWorkflowAssignedToFilter

Member nameDescription
NoneRepresents a filter that has no restrictions.
CurrentUserAndGroupsRepresents a filter that restricts access to only the current user or group to which the workflow or workflow task belongs.

Use the SPWorkflowFilter class to apply filter criteria to a workflow or workflow task collection, such as who the workflow is assigned to, and the workflow state.