SP.Social.SocialActor.actorType property (sp.userprofiles)

Gets the type of actor (user, document, site, or tag).

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

var value = SP.Social.SocialActor.get_actorType()

Return value

SocialActorType
The type of actor: user = 0, document = 1, site = 2, tag = 3.

See also

Other resources

SocialActor

SocialActorType