Delen via


UserIdentity.FirstName Property

Definition

Contains the first name of the user. This value is available only to Microsoft application partners.

Note

If you are developing for Windows 10 or greater, use the Windows.Security.Authentication.Web.Core APIs instead. For more information, see Web account manager.

public:
 property Platform::String ^ FirstName { Platform::String ^ get(); };
winrt::hstring FirstName();
public string FirstName { get; }
var string = userIdentity.firstName;
Public ReadOnly Property FirstName As String

Property Value

String

Platform::String

winrt::hstring

The user's first name.

Applies to