PackageVolume.FindPackageForUser(String, String) 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.
public:
virtual IVector<Package ^> ^ FindPackageForUser(Platform::String ^ userSecurityId, Platform::String ^ packageFullName) = FindPackageForUser;
/// [Windows.Foundation.Metadata.Overload("FindPackageByUserSecurityIdPackageFullName")]
IVector<Package> FindPackageForUser(winrt::hstring const& userSecurityId, winrt::hstring const& packageFullName);
[Windows.Foundation.Metadata.Overload("FindPackageByUserSecurityIdPackageFullName")]
public IList<Package> FindPackageForUser(string userSecurityId, string packageFullName);
function findPackageForUser(userSecurityId, packageFullName)
Public Function FindPackageForUser (userSecurityId As String, packageFullName 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.
- packageFullName
-
String
Platform::String
winrt::hstring
The full name of the package.
Returns
A collection of info about all installed instances of the specified package for the specified user or users.
- Attributes