Share via


AppServiceConnection.User Property

Definition

Gets/sets the user context. This property returns null if the caller did not specify a user.

public:
 property User ^ User { User ^ get(); void set(User ^ value); };
User User();

void User(User value);
public User User { get; set; }
var user = appServiceConnection.user;
appServiceConnection.user = user;
Public Property User As User

Property Value

The user of the app service.

Windows requirements

Device family
Windows 10 Anniversary Edition (introduced in 10.0.14393.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v3.0)

Remarks

This property is set by the caller. Callers that have the multi-user manifest entry must set this property even if the app is not running on a multi-user platform.

Applies to