|
Computer - Log off |
Declaration
<AMCOMPUTER FORCE="YES/NO" />
Description
Logs off, thus, ending the Windows session for the current user.
Practical Usage
Example 1: Administrators could create and deploy a task with this action to force the system to Log Off at a certain time at night.
Example 2: A task could be built very easily that would Log Off the system quickly with just the press of a hot-key combination.
Parameters
General
Property | Type | Required | Default | Markup | Description |
---|---|---|---|---|---|
Force log off without notifying applications | Yes/No | No | No | FORCE="YES" | Is selected, specifies that the system should log off immediately without notifying and waiting for applications to return a message that they are ready to close. Disabled by default. |
Example
- The sample AML code below can be copied and pasted directly into the Steps Panel of the Task Builder.
- Parameters containing user credentials, files, file paths, and/or other information specific to the task must be customized before the sample code can run successfully.
Description
This sample task logs off the local computer. Applications with unsaved changes are forcibly closed.
<AMCOMPUTER FORCE="yes" />