ContactInstantMessageField.UserName Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the user's name.
Note
ContactInstantMessageField may be altered or unavailable for releases after Windows 8.1. Instead, use ContactConnectedServiceAccount.
public:
property Platform::String ^ UserName { Platform::String ^ get(); };
winrt::hstring UserName();
public string UserName { get; }
var string = contactInstantMessageField.userName;
Public ReadOnly Property UserName As String
Property Value
The user's name.
Windows requirements
App capabilities |
contactsSystem
|
Remarks
Remember that the user's name for an instant message account is not always the same as his or her actual name. If you want a user's actual name, use the ContactInformation.name property.