MdmPolicy MdmPolicy MdmPolicy MdmPolicy Class

Definition

MDM (Mobile Device Management) policy.

public : static class MdmPolicypublic static class MdmPolicyPublic Static Class MdmPolicy// You can use this class in JavaScript.
Attributes
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

Methods

GetMessagingSyncPolicy() GetMessagingSyncPolicy() GetMessagingSyncPolicy() GetMessagingSyncPolicy()

Gets the current messaging sync policy.

public : static MessagingSyncPolicy GetMessagingSyncPolicy()public static MessagingSyncPolicy GetMessagingSyncPolicy()Public Static Function GetMessagingSyncPolicy() As MessagingSyncPolicy// You can use this method in JavaScript.
Returns
Additional features and requirements
Device family
Windows 10 Anniversary Edition (introduced v10.0.14393.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v3)

IsBrowserAllowed() IsBrowserAllowed() IsBrowserAllowed() IsBrowserAllowed()

Returns true if a browser is allowed.

public : static PlatForm::Boolean IsBrowserAllowed()public static bool IsBrowserAllowed()Public Static Function IsBrowserAllowed() As bool// You can use this method in JavaScript.
Returns
PlatForm::Boolean bool bool bool

true if a browser is allowed.

IsCameraAllowed() IsCameraAllowed() IsCameraAllowed() IsCameraAllowed()

Returns true if a camera is allowed.

public : static PlatForm::Boolean IsCameraAllowed()public static bool IsCameraAllowed()Public Static Function IsCameraAllowed() As bool// You can use this method in JavaScript.
Returns
PlatForm::Boolean bool bool bool

true if a camera is allowed.

IsMicrosoftAccountAllowed() IsMicrosoftAccountAllowed() IsMicrosoftAccountAllowed() IsMicrosoftAccountAllowed()

Returns true if a Microsoft Account is allowed.

public : static PlatForm::Boolean IsMicrosoftAccountAllowed()public static bool IsMicrosoftAccountAllowed()Public Static Function IsMicrosoftAccountAllowed() As bool// You can use this method in JavaScript.
Returns
PlatForm::Boolean bool bool bool

true if a Microsoft Account is allowed.

IsStoreAllowed() IsStoreAllowed() IsStoreAllowed() IsStoreAllowed()

Returns true if a Store is allowed.

public : static PlatForm::Boolean IsStoreAllowed()public static bool IsStoreAllowed()Public Static Function IsStoreAllowed() As bool// You can use this method in JavaScript.
Returns
PlatForm::Boolean bool bool bool

true if a Store is allowed.