Skip to content

Latest commit

 

History

History
34 lines (23 loc) · 1.43 KB

packagemanager_findpackagesforuser_2003648348.md

File metadata and controls

34 lines (23 loc) · 1.43 KB
-api-id -api-type
M:Windows.Management.Deployment.PackageManager.FindPackagesForUser(System.String,System.String)
winrt method

Windows.Management.Deployment.PackageManager.FindPackagesForUser

-description

Retrieves information about a specified family of Packages installed for a specific user.

-parameters

-param userSecurityId

The user security identifier (SID). If this parameter is String.Empty, the packages are retrieved for the current user.

-param packageFamilyName

The family name of packages to find. This parameter cannot be null.

-returns

If the method succeeds, an enumerable collection of package objects is returned. Each Package object in this collection contains information about the package, including but not limited to its name, publisher, version, and install location. If no packages with the specified package family name are found, this method returns an empty list.

-remarks

-examples

-see-also

Package, FindPackagesForUser(String), FindPackagesForUser(String, String, String)

-capabilities

packageQuery