SP.Social.SocialActorInfo.actorType property (sp.userprofiles)
Gets or sets the actor type.
Applies to: apps for SharePoint | Office 365 | SharePoint Foundation 2013 | SharePoint Server 2013
var value = SP.Social.SocialActorInfo.get_actorType()
SP.Social.SocialActorInfo.set_actorType(value)
Return value
Int32
The type of actor (user = 0, document = 1, site = 2, tag = 3).
See also
Other resources
How to: Follow people by using the JavaScript object model in SharePoint 2013