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
ActorType
Gets the actor type.
SocialActorType ActorType { get; set; }
Property Value
CanFollow
Returns true if the Actor can potentially be followed, false otherwise.
bool CanFollow { get; set; }
Property Value
ContentUri
Gets the actor's content URI. Only valid when ActorType is Document, or Site
string ContentUri { get; set; }
Property Value
EmailAddress
Gets the actor's email address. Only valid when ActorType is User
string EmailAddress { get; set; }
Property Value
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
GroupId
Group id, if the followed site is a group
Guid GroupId { get; set; }
Property Value
Id
Gets the actor's canonical URI.
string Id { get; set; }
Property Value
ImageUri
Gets the actor's image URI. Only valid when ActorType is User, Document, or Site
string ImageUri { get; set; }
Property Value
IsFollowed
Returns true if the current user is following the actor, false otherwise.
bool IsFollowed { get; set; }
Property Value
LibraryUri
Gets the actor's library URI. Only valid when ActorType is Document
string LibraryUri { get; set; }
Property Value
Name
Gets the actor's display name.
string Name { get; set; }
Property Value
PersonalSiteUri
Gets the URI of the actor's personal site. Only valid when ActorType is User
string PersonalSiteUri { get; set; }
Property Value
Status
Gets a code that indicates recoverable errors that occurred during actor retrieval
SocialStatusCode Status { get; set; }
Property Value
StatusText
Gets the text of the actor's most recent post. Only valid when ActorType is User
string StatusText { get; set; }
Property Value
TagGuid
Gets the actor's tag GUID. Only valid when ActorType is Tag
Guid TagGuid { get; set; }
Property Value
Title
Gets the actor's title. Only valid when ActorType is User
string Title { get; set; }
Property Value
Uri
Unique item uri
string Uri { get; set; }