IActivatedEventArgsWithUser IActivatedEventArgsWithUser IActivatedEventArgsWithUser IActivatedEventArgsWithUser Interface

Definition

Provides information about the user that the app was activated for.

public : interface IActivatedEventArgsWithUserpublic interface IActivatedEventArgsWithUserPublic Interface IActivatedEventArgsWithUser// You can use this interface in JavaScript.
Inheritance
IActivatedEventArgsWithUserIActivatedEventArgsWithUserIActivatedEventArgsWithUserIActivatedEventArgsWithUser
Attributes
Windows 10 requirements
Device family
Windows 10 Anniversary Edition (introduced v10.0.14393.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v3)

Inherited Members

Inherited properties

Properties

User User User User

Gets the user that the app was activated for.

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

The user that the app was activated for. This property returns the logged-in user on platforms that only support single-user sessions. For platforms that support multiple users in a session (such as Xbox) this property returns the logged-in user that the app was activated for.

Remarks

Multi-user apps can use this property to allow or restrict app behavior. For example, you might restrict access to content or features based on the user’s credentials.

See Also