Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old

WindowsUserNotification.Setting

Queries notification status.

Component Version macOS Windows Linux Server iOS SDK
WindowsUserNotification UserNotification 8.3 ❌ No ✅ Yes ❌ No ❌ No ❌ No
MBS( "WindowsUserNotification.Setting" )

Parameters

none

Result

Returns value or error.

Description

Queries notification status.
Gets a value that tells you whether there is an app, user, or system block that prevents the display of a notification.

If allowed, you get back "Enabled" as setting.
When notifications have been disabled at more than one level, this property value reflects the setting with the largest scope. Precedence is as follows, from largest scope to smallest:

DisabledByManifest
DisabledByGroupPolicy
DisabledForUser
DisabledForApplication

If toast notifications have been disabled both by the user and by group policy, this property returns DisabledByGroupPolicy.

See also

Release notes

Blog Entries

This function checks for a license.

Created 22nd May 2018, last changed 8th July 2018


WindowsUserNotification.SetText - WindowsUserNotification.ShowNotification