Search Results for

    Show / Hide Table of Contents

    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

    Properties

    AccountName

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

    Declaration
    string AccountName { get; set; }
    Property Value
    System.String

    ActorType

    Gets the actor type.

    Declaration
    SocialActorType ActorType { get; set; }
    Property Value
    SocialActorType

    CanFollow

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

    Declaration
    bool CanFollow { get; set; }
    Property Value
    System.Boolean

    ContentUri

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

    Declaration
    string ContentUri { get; set; }
    Property Value
    System.String

    EmailAddress

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

    Declaration
    string EmailAddress { get; set; }
    Property Value
    System.String

    FollowedContentUri

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

    Declaration
    string FollowedContentUri { get; set; }
    Property Value
    System.String

    GroupId

    Group id, if the followed site is a group

    Declaration
    Guid GroupId { get; set; }
    Property Value
    Guid

    Id

    Gets the actor's canonical URI.

    Declaration
    string Id { get; set; }
    Property Value
    System.String

    ImageUri

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

    Declaration
    string ImageUri { get; set; }
    Property Value
    System.String

    IsFollowed

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

    Declaration
    bool IsFollowed { get; set; }
    Property Value
    System.Boolean

    LibraryUri

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

    Declaration
    string LibraryUri { get; set; }
    Property Value
    System.String

    Name

    Gets the actor's display name.

    Declaration
    string Name { get; set; }
    Property Value
    System.String

    PersonalSiteUri

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

    Declaration
    string PersonalSiteUri { get; set; }
    Property Value
    System.String

    Status

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

    Declaration
    SocialStatusCode Status { get; set; }
    Property Value
    SocialStatusCode

    StatusText

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

    Declaration
    string StatusText { get; set; }
    Property Value
    System.String

    TagGuid

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

    Declaration
    Guid TagGuid { get; set; }
    Property Value
    Guid

    Title

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

    Declaration
    string Title { get; set; }
    Property Value
    System.String

    Uri

    Unique item uri

    Declaration
    string Uri { get; set; }
    Property Value
    System.String

    Back to top PnP Core SDK
    Generated by DocFX with Material UI
    spacer