AppUriHandlerRegistrationManager.GetForUser(User) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Creates an AppUriHandlerRegistrationManager for the calling app for the requested user context.
public:
static AppUriHandlerRegistrationManager ^ GetForUser(User ^ user);
static AppUriHandlerRegistrationManager GetForUser(User const& user);
public static AppUriHandlerRegistrationManager GetForUser(User user);
function getForUser(user)
Public Shared Function GetForUser (user As User) As AppUriHandlerRegistrationManager
Parameters
Returns
An AppUriHandlerRegistrationManager which can be used to access AppUriHandlerRegistrations.
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.