WorkplaceSettings.IsMicrosoftAccountOptional Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets a value that indicates whether an enterprise ID can be used instead of a Microsoft account.
public:
static property bool IsMicrosoftAccountOptional { bool get(); };
static bool IsMicrosoftAccountOptional();
public static bool IsMicrosoftAccountOptional { get; }
var boolean = WorkplaceSettings.isMicrosoftAccountOptional;
Public Shared ReadOnly Property IsMicrosoftAccountOptional As Boolean
Property Value
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.