# Data Object - TaskFilterSpecByUsername(vim.TaskFilterSpec.ByUsername)

Property of
  TaskFilterSpec
Extends
  DynamicData
Since
  2.0

## Data Object Description

This data object type enables you to filter task history according to the users who performed the tasks.

Properties

Name | Type | Description
--- | --- | ---
systemUser | xsd:boolean | Whether or not to filter by system user. If set to true, filters for system user event.
userList* | xsd:string[] | Specifies the username list to use in the filter. If not set, then all regular user tasks are collected.
Properties inherited from DynamicData
None

*Need not be set
Show WSDL type definition
<complexType xmlns="http://www.w3.org/2001/XMLSchema" xmlns:vim25="urn:vim25" name="TaskFilterSpecByUsername"> <complexContent> <extension base="vim25:DynamicData"> <sequence> <element name="systemUser" type="xsd:boolean"/> <element name="userList" type="xsd:string" minOccurs="0" maxOccurs="unbounded"/> </sequence> </extension> </complexContent> </complexType>