SP.Social.SocialActorInfo.accountName property (sp.userprofiles)

Gets or sets the actor's account name. Applies to users.

Applies to: apps for SharePoint | Office 365 | SharePoint Foundation 2013 | SharePoint Server 2013

var value = SP.Social.SocialActorInfo.get_accountName()
SP.Social.SocialActorInfo.set_accountName(value)

Return value

String
The user's account name.

Remarks

This property is valid only when id is null or empty and actorType is a user (value = 0).

See also

Other resources

SocialActorInfo

How to: Follow people by using the JavaScript object model in SharePoint 2013