SP.Social.SocialActor object (sp.userprofiles)

Represents a user, document, site, or tag in social feed and following activities.

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

var object = new SP.Social.SocialActor()

Members

The SocialActor object has the following members.

Constructor

The SocialActor object has the following constructor.

Constructor

Description

SocialActor

Initializes a new instance of an actor.

Methods

The SocialActor 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 SocialActor object has the following properties.

Property

Description

accountName

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

actorType

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

canFollow

Gets a value that indicates whether the actor can be followed.

contentUri

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

emailAddress

Gets the actor's email address. Applies to users.

followedContentUri

Gets the URI of the actor's list of followed content. Applies to users.

id

Gets the actor's unique identifier.

imageUri

Gets the actor's image URI. Applies to users, documents, and sites.

isFollowed

Gets a value that indicates whether the current user is being followed.

libraryUri

Gets the actor's library URI. Applies to documents.

name

Gets the actor's display name.

personalSiteUri

Gets the URI of the actor's personal site. Applies to users.

status

Gets a code that indicates recoverable errors that occurred during the actor's retrieval.

statusText

Gets the text of the actor's most recent post. Applies to users.

tagGuid

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

title

Gets the actor's title. Applies to users.

typeId

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

uri

Gets the actor's canonical URI.

See also

Other resources

SP.Social namespace