WebUIAppointmentsProviderAddAppointmentActivatedEventArgs.User WebUIAppointmentsProviderAddAppointmentActivatedEventArgs.User WebUIAppointmentsProviderAddAppointmentActivatedEventArgs.User WebUIAppointmentsProviderAddAppointmentActivatedEventArgs.User WebUIAppointmentsProviderAddAppointmentActivatedEventArgs.User Property

Definition

Gets the user that the app was activated for.

public : User User { get; }
User User();
public User User { get; }
Public ReadOnly Property User As User
var user = webuiAppointmentsProviderAddAppointmentActivatedEventArgs.user;

Property Value

The user that the app was activated for.

Additional features and requirements

Device family
Windows 10 Anniversary Edition (introduced v10.0.14393.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v3)

Remarks

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.

This property returns null when a multi-user application is activated with no specific user context.

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.