PackageUserInformation 类  
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
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 PackageUserInformationPublic NotInheritable Class PackageUserInformation- 继承
- 属性
Windows 要求
| 设备系列 | 
							Windows 10 (在 10.0.10240.0 中引入) | 
| API contract | 
							Windows.Foundation.UniversalApiContract (在 v1.0 中引入) | 
示例
请参阅 PackageManager.FindUsers (String) 中的代码示例。
注解
若要枚举已安装包的用户,请使用 PackageManager.FindUsers 方法。
属性
| InstallState | 获取用户的 包 的安装状态。 | 
| UserSecurityId | 获取 Package 用户的 SID) (安全标识符。 |