Lock Workstation Action

Description

Submits a request to lock the workstation's display. Locking a workstation protects it from unauthorized use.  Available on Windows NT/2000/XP.

Used to lock the workstation. It is common to use this action to lock the workstation only if the Workflow was started when it was locked (see example).

Declaration

<AMLOCKWORKSTATION>

Example

<AMVARIABLE NAME="AMTrigger.WasLocked" ISPARAMETER="YES">1</AMVARIABLE>
<!--- Place these steps at the end of the Workflow to make it re-lock if the Workflow was started locked --->
<AMIF EXPRESSION="%AMTrigger.WasLocked% = 1">
<AMLOCKWORKSTATION>
</AMIF>

General Tab Parameters

This action has no parameters.

See Also

Log Off, Restart, Shut Down