Table of Contents

Interface ISocialActor

Namespace
PnP.Core.Model.SharePoint
Assembly
PnP.Core.dll

An entity, which represents a following object. The type of the object can be identified based on the ActorType property

public interface ISocialActor

Properties

AccountName

Gets the actor's account name. Only valid when ActorType is User

string AccountName { get; set; }

Property Value

string

ActorType

Gets the actor type.

SocialActorType ActorType { get; set; }

Property Value

SocialActorType

CanFollow

Returns true if the Actor can potentially be followed, false otherwise.

bool CanFollow { get; set; }

Property Value

bool

ContentUri

Gets the actor's content URI. Only valid when ActorType is Document, or Site

string ContentUri { get; set; }

Property Value

string

EmailAddress

Gets the actor's email address. Only valid when ActorType is User

string EmailAddress { get; set; }

Property Value

string

FollowedContentUri

Gets the URI of the actor's followed content folder. Only valid when this represents the current user

string FollowedContentUri { get; set; }

Property Value

string

GroupId

Group id, if the followed site is a group

Guid GroupId { get; set; }

Property Value

Guid

Id

Gets the actor's canonical URI.

string Id { get; set; }

Property Value

string

ImageUri

Gets the actor's image URI. Only valid when ActorType is User, Document, or Site

string ImageUri { get; set; }

Property Value

string

IsFollowed

Returns true if the current user is following the actor, false otherwise.

bool IsFollowed { get; set; }

Property Value

bool

LibraryUri

Gets the actor's library URI. Only valid when ActorType is Document

string LibraryUri { get; set; }

Property Value

string

Name

Gets the actor's display name.

string Name { get; set; }

Property Value

string

PersonalSiteUri

Gets the URI of the actor's personal site. Only valid when ActorType is User

string PersonalSiteUri { get; set; }

Property Value

string

Status

Gets a code that indicates recoverable errors that occurred during actor retrieval

SocialStatusCode Status { get; set; }

Property Value

SocialStatusCode

StatusText

Gets the text of the actor's most recent post. Only valid when ActorType is User

string StatusText { get; set; }

Property Value

string

TagGuid

Gets the actor's tag GUID. Only valid when ActorType is Tag

Guid TagGuid { get; set; }

Property Value

Guid

Title

Gets the actor's title. Only valid when ActorType is User

string Title { get; set; }

Property Value

string

Uri

Unique item uri

string Uri { get; set; }

Property Value

string