logonTriggerType Complex Type
Defines the child elements and sequencing information for the LogonTrigger element.
<xs:complexType name="logonTriggerType">
<xs:complexContent>
<xs:extension
base="triggerBaseType"
>
<xs:sequence>
<xs:element name="UserId"
type="nonEmptyString"
minOccurs="0"
/>
<xs:element name="Delay"
type="duration"
default="PT0M"
minOccurs="0"
/>
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
Child elements
Element | Type | Description |
---|---|---|
Delay | duration | Amount of time between when the user logs on and when the task is started. |
UserId | nonEmptyString | Identifier of the user. The task is started when this user logs onto the computer. |
Remarks
In addition to the child elements defined here, the LogonTrigger element also uses child elements defined by the triggerBaseType complex type.
Requirements
Requirement | Value |
---|---|
Minimum supported client |
Windows Vista [desktop apps only] |
Minimum supported server |
Windows Server 2008 [desktop apps only] |