AppUriHandlerRegistrationManager.GetForUser(User) AppUriHandlerRegistrationManager.GetForUser(User) AppUriHandlerRegistrationManager.GetForUser(User) AppUriHandlerRegistrationManager.GetForUser(User) AppUriHandlerRegistrationManager.GetForUser(User) Method

Definition

Creates an AppUriHandlerRegistrationManager for the calling app for the requested user context.

public : static AppUriHandlerRegistrationManager GetForUser(User user)
static AppUriHandlerRegistrationManager GetForUser(User user) const;
public static AppUriHandlerRegistrationManager GetForUser(User user)
Public Shared Function GetForUser(user As User) As AppUriHandlerRegistrationManager
var appUriHandlerRegistrationManager = Windows.System.AppUriHandlerRegistrationManager.getForUser(user);

Parameters

user
User User User

User context to perform operations for.

Returns

Remarks

This API will fail if the caller has not set the "SupportedUsers" property in their AppxManifest to "multiple".

Apps which do not support multiple users should instead use AppUriHandlerRegistrationManager.GetDefault.

See also