Dela via


OnlineIdSystemAuthenticator Class

Definition

This class handles an app's attempts to acquire the local user id on a device, for use with the System Ticket feature (see Remarks).

public ref class OnlineIdSystemAuthenticator abstract sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 262144)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class OnlineIdSystemAuthenticator final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 262144)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public static class OnlineIdSystemAuthenticator
Public Class OnlineIdSystemAuthenticator
Inheritance
Object Platform::Object IInspectable OnlineIdSystemAuthenticator
Attributes

Windows requirements

Device family
Windows 10 Creators Update (introduced in 10.0.15063.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v4.0)

Remarks

With the System Ticket feature, an app can provide cloud services to a user and store user info even if the user is not signed on with their Microsoft account (MSA). The app can acquire information about the local user account on a system, as well as information about the system itself, in order to keep track of settings and data for this user.

Properties

Default

Gets an instance of OnlineIdSystemAuthenticatorForUser that corresponds to the user currently logged in to the device.

Methods

GetForUser(User)

Gets an instance of OnlineIdSystemAuthenticatorForUser that corresponds to the specified user.

Applies to