WorkplaceSettings
WorkplaceSettings
WorkplaceSettings
WorkplaceSettings
Class
Definition
Enables Windows Store app to access select enterprise settings that are managed through group policy or other management services.
public : static class WorkplaceSettingspublic static class WorkplaceSettingsPublic Static Class WorkplaceSettings// You can use this class in JavaScript.
- Attributes
Windows 10 requirements
| Device family |
Windows Desktop Extension SDK (introduced v10.0.10240.0)
|
| API contract |
Windows.Management.Workplace.WorkplaceSettingsContract (introduced v1)
|
Properties
IsMicrosoftAccountOptional IsMicrosoftAccountOptional IsMicrosoftAccountOptional IsMicrosoftAccountOptional
Gets a value that indicates whether an enterprise ID can be used instead of a Microsoft account.
public : static PlatForm::Boolean IsMicrosoftAccountOptional { get; }public static bool IsMicrosoftAccountOptional { get; }Public Static ReadOnly Property IsMicrosoftAccountOptional As bool// You can use this property in JavaScript.
- Value
- PlatForm::Boolean bool bool bool
true if an enterprise ID can be used instead of a Microsoft account; otherwise, false.
Remarks
Some apps, such as the Mail app, require that a user sign in with a Microsoft account. If IsMicrosoftAccountOptional is true, the app can provide a different experience in an enterprise setting, and let a user sign in with an enterprise ID instead of a Microsoft account.