KnownUserProperties 类

定义

包含有关用户的基本信息。

public ref class KnownUserProperties abstract sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class KnownUserProperties final
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class KnownUserProperties final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public static class KnownUserProperties
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public static class KnownUserProperties
Public Class KnownUserProperties
继承
Object Platform::Object IInspectable KnownUserProperties
属性

Windows 要求

设备系列
Windows 10 (在 10.0.10240.0 中引入)
API contract
Windows.Foundation.UniversalApiContract (在 v1.0 中引入)

属性

AccountName

获取用户的帐户名。

AgeEnforcementRegion

获取表示用户年龄强制区域的字符串。

DisplayName

获取用户的显示名称。

DomainName

获取用户的域名。

FirstName

获取用户的名字。

GuestHost

获取用户的来宾主机。

LastName

获取用户的姓氏。

PrincipalName

获取用户的主体名称。

ProviderName

获取用户的提供程序名称。

SessionInitiationProtocolUri

获取用户的会话初始协议 URI。

适用于