Share via


WorkplaceSettings Class

Definition

Enables UWP apps to access select enterprise settings that are managed through group policy or other management services.

public ref class WorkplaceSettings abstract sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Management.Workplace.WorkplaceSettingsContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class WorkplaceSettings final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Management.Workplace.WorkplaceSettingsContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public static class WorkplaceSettings
Public Class WorkplaceSettings
Inheritance
Object Platform::Object IInspectable WorkplaceSettings
Attributes

Windows requirements

Device family
Windows Desktop Extension SDK (introduced in 10.0.10240.0)
API contract
Windows.Management.Workplace.WorkplaceSettingsContract (introduced in v1.0)

Properties

IsMicrosoftAccountOptional

Gets a value that indicates whether an enterprise ID can be used instead of a Microsoft account.

Applies to