IWebAccount 介面

定義

讓類別能夠代表來自 Web 帳戶提供者的帳戶。

public interface class IWebAccount
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.Guid(1766276786, 32817, 18878, 128, 187, 150, 203, 70, 217, 154, 186)]
struct IWebAccount
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.Guid(1766276786, 32817, 18878, 128, 187, 150, 203, 70, 217, 154, 186)]
public interface IWebAccount
Public Interface IWebAccount
衍生
屬性

Windows 需求

裝置系列
Windows 10 (已於 10.0.10240.0 - for Xbox, see UWP features that aren't yet supported on Xbox 引進)
API contract
Windows.Foundation.UniversalApiContract (已於 v1.0 引進)

屬性

State

取得 Web 帳戶的線上狀態。

UserName

取得 Web 帳戶的使用者名稱。

WebAccountProvider

取得帳戶的 Web 驗證提供者。

適用於

另請參閱