Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

PackageCatalog.OpenForCurrentUser 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.

Opens the catalog of app packages on the device that are available to the current user.

public:
 static PackageCatalog ^ OpenForCurrentUser();
 static PackageCatalog OpenForCurrentUser();
public static PackageCatalog OpenForCurrentUser();
function openForCurrentUser()
Public Shared Function OpenForCurrentUser () As PackageCatalog

Returns

The catalog of packages for the current user.

Windows requirements

Requirements Description
App capabilities
packageManagement packageQuery

Remarks

In terms of capability requirements, OpenForCurrentUser requires that the caller has either the packageQuery or the packageManagement capability; or else that the caller has integrity level (IL) greater than or equal to Medium.

Applies to

See also


Feedback

Was this page helpful?