PublicClientApplication.OperatingSystemAccount Property

Definition

A special account value that indicates that the current operating system account should be used to log the user in. Not all operating systems and authentication flows support this concept, in which case calling AcquireTokenSilent(IEnumerable<String>, IAccount) will throw an MsalUiRequiredException.

public static Microsoft.Identity.Client.IAccount OperatingSystemAccount { get; }
static member OperatingSystemAccount : Microsoft.Identity.Client.IAccount
Public Shared ReadOnly Property OperatingSystemAccount As IAccount

Property Value

Remarks

Currently only the Windows broker is able to login with the current operating system user. For additional details, see the documentation on the Windows broker.

Applies to