Delen via


KnownUserProperties Class

Definition

Contains basic information about a user.

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
Inheritance
Object Platform::Object IInspectable KnownUserProperties
Attributes

Windows requirements

Device family
Windows 10 (introduced in 10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v1.0)

Properties

AccountName

Gets the user's account name.

AgeEnforcementRegion

Gets a string representing the user's age enforcement region.

DisplayName

Gets the user's display name.

DomainName

Gets the user's domain name.

FirstName

Gets the user's first name.

GuestHost

Gets the user's guest host.

LastName

Gets the user's last name.

PrincipalName

Gets the user's principal name.

ProviderName

Gets the user's provider name.

SessionInitiationProtocolUri

Gets the user's session initiation protocol Uri.

Applies to