UserIdentity.LastName Property

Definition

Contains the user's last name. 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 ^ LastName { Platform::String ^ get(); };
winrt::hstring LastName();
public string LastName { get; }
var string = userIdentity.lastName;
Public ReadOnly Property LastName As String

Property Value

String

Platform::String

winrt::hstring

The user's last name.

Applies to