WebAccountScope 列舉

定義

表示 Web 帳戶的範圍。

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
繼承
WebAccountScope
屬性

Windows 需求

裝置系列
Windows 10 (已於 10.0.10240.0 引進)
API contract
Windows.Foundation.UniversalApiContract (已於 v1.0 引進)

欄位

PerApplication 1

從電腦設定中隱藏帳戶的範圍。 如果您不希望使用者的登入持續存在,請使用此範圍。 針對這些帳戶,應該只保留每個應用程式權杖。

PerUser 0

出現在電腦設定中的單一登入帳戶範圍。 這是預設範圍。

適用於