Share via


SP.Social.SocialActorInfo object (sp.userprofiles)

Identifies a user, document, site, or tag in client-side requests for social feed and following activities.

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

SocialActorInfo objects are sent from clients to the server to specify actors. SocialActor objects represent actors returned in server responses.

var object = new SP.Social.SocialActorInfo()

Members

The SocialActorInfo object has the following members.

Constructor

The SocialActorInfo object has the following constructor.

Constructor

Description

SocialActorInfo

Initializes a new instance of a SocialActorInfo object.

Methods

The SocialActorInfo object has the following methods.

Method

Description

initPropertiesFromJson

This member is reserved for internal use and is not intended to be used directly from your code.

writeToXml

This member is reserved for internal use and is not intended to be used directly from your code.

Properties

The SocialActorInfo object has the following properties.

Property

Description

accountName

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

actorType

Gets or sets the actor type.

contentUri

Gets or sets the actor's content URI. Applies to documents and sites.

id

Gets or sets the actor's unique identifier.

tagGuid

Gets or sets the actor's tag GUID. Applies to tags.

typeId

This member is reserved for internal use and is not intended to be used directly from your code.

See also

Other resources

SP.Social namespace

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