WorkplaceSettings.IsMicrosoftAccountOptional Property

Definition

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

Boolean

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.

Applies to