Search Results for

    Show / Hide Table of Contents

    Interface ISharingLink

    The sharingLink resource groups link-related data items into a single structure.

    Namespace: PnP.Core.Model.Security
    Assembly: PnP.Core.dll
    Syntax
    public interface ISharingLink

    Properties

    PreventsDownload

    If true then the user can only use this link to view the item on the web, and cannot use it to download the contents of the item. Only for OneDrive for Business and SharePoint.

    Declaration
    bool PreventsDownload { get; }
    Property Value
    System.Boolean

    Scope

    The scope of the link represented by this permission. Value anonymous indicates the link is usable by anyone, organization indicates the link is only usable for users signed into the same tenant.

    Declaration
    ShareScope Scope { get; }
    Property Value
    ShareScope

    Type

    The type of the link created.

    Declaration
    ShareType Type { get; }
    Property Value
    ShareType

    WebHtml

    For embed links, this property contains the HTML code for an iframe element that will embed the item in a webpage.

    Declaration
    string WebHtml { get; }
    Property Value
    System.String

    WebUrl

    A URL that opens the item in the browser on the OneDrive website.

    Declaration
    string WebUrl { get; }
    Property Value
    System.String

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