SP.Social.SocialDataItem.accountName property (sp.userprofiles)
Gets or sets the account name of the user to mention.
Applies to: apps for SharePoint | Office 365 | SharePoint Foundation 2013 | SharePoint Server 2013
var value = SP.Social.SocialDataItem.get_accountName()
SP.Social.SocialDataItem.set_accountName(value)
Return value
String
The account name of the user to mention.
Remarks
This property is used only when itemType is user.
See also
Other resources
How to: Include mentions, tags, and links to sites and documents in posts in SharePoint Server 2013