共用方式為


CoreWebView2EnvironmentOptions.AllowSingleSignOnUsingOSPrimaryAccount Property

Definition

Determines whether to enable single sign on with Azure Active Directory (AAD) resources inside WebView using the logged in Windows account and single sign on (SSO) with web sites using Microsoft account associated with the login in Windows account.

public bool AllowSingleSignOnUsingOSPrimaryAccount { get; set; }
member this.AllowSingleSignOnUsingOSPrimaryAccount : bool with get, set
Public Property AllowSingleSignOnUsingOSPrimaryAccount As Boolean

Property Value

Remarks

The default value is false. Universal Windows Platform apps must also declare enterpriseCloudSSO restricted capability for the single sign on (SSO) to work.

Applies to