PackageUserInformation クラス

定義

インストールされているパッケージのユーザーに関する情報を提供 します

public ref class PackageUserInformation sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class PackageUserInformation final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class PackageUserInformation
Public NotInheritable Class PackageUserInformation
継承
Object Platform::Object IInspectable PackageUserInformation
属性

Windows の要件

デバイス ファミリ
Windows 10 (10.0.10240.0 で導入)
API contract
Windows.Foundation.UniversalApiContract (v1.0 で導入)

PackageManager.FindUsers(String)のコード例を参照してください。

注釈

パッケージをインストールしたユーザーを列挙するには、 PackageManager.FindUsers メソッドを 使用します。

プロパティ

InstallState

ユーザーの パッケージ のインストール状態を取得します。

UserSecurityId

パッケージ ユーザーのセキュリティ識別子 (SID) を取得します。

適用対象