IWebAccount IWebAccount IWebAccount IWebAccount Interface

Definition

Enables a class to represent an account from a web account provider.

public : interface IWebAccountpublic interface IWebAccountPublic Interface IWebAccount// You can use this interface in JavaScript.
Attributes
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10240.0 - for Xbox, see UWP features that aren't yet supported on Xbox)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

Properties

State State State State

Gets the connected state of the web account.

public : WebAccountState State { get; }public WebAccountState State { get; }Public ReadOnly Property State As WebAccountState// You can use this property in JavaScript.
Value
WebAccountState WebAccountState WebAccountState WebAccountState

The connected state of the web account.

UserName UserName UserName UserName

Gets the username for the web account.

public : PlatForm::String UserName { get; }public string UserName { get; }Public ReadOnly Property UserName As string// You can use this property in JavaScript.
Value
PlatForm::String string string string

The username for the web account.

WebAccountProvider WebAccountProvider WebAccountProvider WebAccountProvider

Gets the web authentication provider for the account.

public : WebAccountProvider WebAccountProvider { get; }public WebAccountProvider WebAccountProvider { get; }Public ReadOnly Property WebAccountProvider As WebAccountProvider// You can use this property in JavaScript.
Value
WebAccountProvider WebAccountProvider WebAccountProvider WebAccountProvider

The web authentication provider for the account.