Share via


PackageVolume.FindPackagesForUserWithPackageTypes Method

Definition

Overloads

FindPackagesForUserWithPackageTypes(String, PackageTypes)

Gets a collection of info about all installed instances of all Packages for the specified user or users and with the specified package types.

FindPackagesForUserWithPackageTypes(String, PackageTypes, String)

Gets a collection of info about all installed instances of the specified Package for the specified user or users and with the specified package types.

FindPackagesForUserWithPackageTypes(String, PackageTypes, String, String)

Gets a collection of info about all installed instances of the specified Package for the specified user or users and with the specified package types.

FindPackagesForUserWithPackageTypes(String, PackageTypes)

Gets a collection of info about all installed instances of all Packages for the specified user or users and with the specified package types.

public:
 virtual IVector<Package ^> ^ FindPackagesForUserWithPackageTypes(Platform::String ^ userSecurityId, PackageTypes packageTypes) = FindPackagesForUserWithPackageTypes;
/// [Windows.Foundation.Metadata.Overload("FindPackagesByUserSecurityIdWithPackageTypes")]
IVector<Package> FindPackagesForUserWithPackageTypes(winrt::hstring const& userSecurityId, PackageTypes const& packageTypes);
[Windows.Foundation.Metadata.Overload("FindPackagesByUserSecurityIdWithPackageTypes")]
public IList<Package> FindPackagesForUserWithPackageTypes(string userSecurityId, PackageTypes packageTypes);
function findPackagesForUserWithPackageTypes(userSecurityId, packageTypes)
Public Function FindPackagesForUserWithPackageTypes (userSecurityId As String, packageTypes As PackageTypes) As IList(Of Package)

Parameters

userSecurityId
String

Platform::String

winrt::hstring

The security identifier (SID) of the user or users. An empty string denotes the current user. The Everyone SID (S-1-1-0) denotes all users. Any SID other than that of the current user requires administrative privileges.

packageTypes
PackageTypes

A bitwise combination of the enumeration values that specifies the types of packages to return.

Returns

A collection of info about the specified packages.

Attributes

See also

Applies to

FindPackagesForUserWithPackageTypes(String, PackageTypes, String)

Gets a collection of info about all installed instances of the specified Package for the specified user or users and with the specified package types.

public:
 virtual IVector<Package ^> ^ FindPackagesForUserWithPackageTypes(Platform::String ^ userSecurityId, PackageTypes packageTypes, Platform::String ^ packageFamilyName) = FindPackagesForUserWithPackageTypes;
/// [Windows.Foundation.Metadata.Overload("FindPackagesByUserSecurityIdPackageFamilyNameWithPackagesTypes")]
IVector<Package> FindPackagesForUserWithPackageTypes(winrt::hstring const& userSecurityId, PackageTypes const& packageTypes, winrt::hstring const& packageFamilyName);
[Windows.Foundation.Metadata.Overload("FindPackagesByUserSecurityIdPackageFamilyNameWithPackagesTypes")]
public IList<Package> FindPackagesForUserWithPackageTypes(string userSecurityId, PackageTypes packageTypes, string packageFamilyName);
function findPackagesForUserWithPackageTypes(userSecurityId, packageTypes, packageFamilyName)
Public Function FindPackagesForUserWithPackageTypes (userSecurityId As String, packageTypes As PackageTypes, packageFamilyName As String) As IList(Of Package)

Parameters

userSecurityId
String

Platform::String

winrt::hstring

The security identifier (SID) of the user or users. An empty string denotes the current user. The Everyone SID (S-1-1-0) denotes all users. Any SID other than that of the current user requires administrative privileges.

packageTypes
PackageTypes

A bitwise combination of the enumeration values that specifies the types of packages to return.

packageFamilyName
String

Platform::String

winrt::hstring

The package family name.

Returns

A collection of info about the specified packages.

Attributes

See also

Applies to

FindPackagesForUserWithPackageTypes(String, PackageTypes, String, String)

Gets a collection of info about all installed instances of the specified Package for the specified user or users and with the specified package types.

public:
 virtual IVector<Package ^> ^ FindPackagesForUserWithPackageTypes(Platform::String ^ userSecurityId, PackageTypes packageTypes, Platform::String ^ packageName, Platform::String ^ packagePublisher) = FindPackagesForUserWithPackageTypes;
/// [Windows.Foundation.Metadata.Overload("FindPackagesByUserSecurityIdNamePublisherWithPackageTypes")]
IVector<Package> FindPackagesForUserWithPackageTypes(winrt::hstring const& userSecurityId, PackageTypes const& packageTypes, winrt::hstring const& packageName, winrt::hstring const& packagePublisher);
[Windows.Foundation.Metadata.Overload("FindPackagesByUserSecurityIdNamePublisherWithPackageTypes")]
public IList<Package> FindPackagesForUserWithPackageTypes(string userSecurityId, PackageTypes packageTypes, string packageName, string packagePublisher);
function findPackagesForUserWithPackageTypes(userSecurityId, packageTypes, packageName, packagePublisher)
Public Function FindPackagesForUserWithPackageTypes (userSecurityId As String, packageTypes As PackageTypes, packageName As String, packagePublisher As String) As IList(Of Package)

Parameters

userSecurityId
String

Platform::String

winrt::hstring

The security identifier (SID) of the user or users. An empty string denotes the current user. The Everyone SID (S-1-1-0) denotes all users. Any SID other than that of the current user requires administrative privileges.

packageTypes
PackageTypes

A bitwise combination of the enumeration values that specifies the types of packages to return.

packageName
String

Platform::String

winrt::hstring

The full name of the package.

packagePublisher
String

Platform::String

winrt::hstring

The publisher of the package.

Returns

A collection of info about the specified packages.

Attributes

See also

Applies to