Interface ISocialActor
An entity, which represents a following object. The type of the object can be identified based on the ActorType property
Namespace: PnP.Core.Model.SharePoint
Assembly: PnP.Core.dll
Syntax
public interface ISocialActor
An entity, which represents a following object. The type of the object can be identified based on the ActorType property
public interface ISocialActor
Gets the actor's account name. Only valid when ActorType is User
string AccountName { get; set; }
System.String
|
Gets the actor type.
SocialActorType ActorType { get; set; }
SocialActorType
|
Returns true if the Actor can potentially be followed, false otherwise.
bool CanFollow { get; set; }
System.Boolean
|
Gets the actor's content URI. Only valid when ActorType is Document, or Site
string ContentUri { get; set; }
System.String
|
Gets the actor's email address. Only valid when ActorType is User
string EmailAddress { get; set; }
System.String
|
Gets the URI of the actor's followed content folder. Only valid when this represents the current user
string FollowedContentUri { get; set; }
System.String
|
Group id, if the followed site is a group
Guid GroupId { get; set; }
Guid
|
Gets the actor's canonical URI.
string Id { get; set; }
System.String
|
Gets the actor's image URI. Only valid when ActorType is User, Document, or Site
string ImageUri { get; set; }
System.String
|
Returns true if the current user is following the actor, false otherwise.
bool IsFollowed { get; set; }
System.Boolean
|
Gets the actor's library URI. Only valid when ActorType is Document
string LibraryUri { get; set; }
System.String
|
Gets the actor's display name.
string Name { get; set; }
System.String
|
Gets the URI of the actor's personal site. Only valid when ActorType is User
string PersonalSiteUri { get; set; }
System.String
|
Gets a code that indicates recoverable errors that occurred during actor retrieval
SocialStatusCode Status { get; set; }
SocialStatusCode
|
Gets the text of the actor's most recent post. Only valid when ActorType is User
string StatusText { get; set; }
System.String
|
Gets the actor's tag GUID. Only valid when ActorType is Tag
Guid TagGuid { get; set; }
Guid
|
Gets the actor's title. Only valid when ActorType is User
string Title { get; set; }
System.String
|
Unique item uri
string Uri { get; set; }
System.String
|