Skip to main content

1E 8.1 (on-premises)

Interaction.SetDoNotDisturb

Method

SetDoNotDisturb

Module

Interaction

Library

Core

Action

Set or unset User Interaction Do Not Disturb mode for a user session.

Parameters

Minutes (integer): Duration of Do Not Disturb in minutes. A value of 0 can be used to unset Do Not Disturb mode.

Return values

DoNotDisturb (integer): How long in minutes Do Not Disturb mode will remain in force.

0 minutes means Do Not Disturb mode is now disabled.

SessionId (integer): Id associated with this user session.

UserName (string): Username associated with this logon session.

Example

Interaction.SetDoNotDisturb(Minutes: 10);

Platforms

  • Windows

Notes