Share via


WebAccountScope Enum

Definition

Represents the scope of a web account.

public enum class WebAccountScope
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
enum class WebAccountScope
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
public enum WebAccountScope
var value = Windows.Security.Authentication.Web.Provider.WebAccountScope.perUser
Public Enum WebAccountScope
Inheritance
WebAccountScope
Attributes

Windows requirements

Device family
Windows 10 (introduced in 10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v1.0)

Fields

Name Value Description
PerUser 0

Scope for single-sign-on accounts that appear in PC settings. This is the default scope.

PerApplication 1

Scope that hides the account from PC settings. Use this scope if you do not want the user's login to persist. For these accounts, only per-app tokens should be retained.

Applies to