Search Results for

    Show / Hide Table of Contents

    Class InviteOptions

    Options that can be set when inviting users to an item

    Inheritance
    System.Object
    InviteOptionsBase
    InviteOptions
    Inherited Members
    InviteOptionsBase.CreateDriveRecipient(String)
    Namespace: PnP.Core.Model.Security
    Assembly: PnP.Core.dll
    Syntax
    public class InviteOptions : InviteOptionsBase

    Properties

    ExpirationDateTime

    Specify the DateTime after which the permission expires. Note: Available on OneDrive for Business, SharePoint, and premium personal OneDrive accounts.

    Declaration
    public DateTime ExpirationDateTime { get; set; }
    Property Value
    DateTime

    Message

    A plain text formatted message that is included in the sharing invitation. Maximum length 2000 characters.

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

    Recipients

    A collection of recipients who will receive access and the sharing invitation.

    Declaration
    public List<IDriveRecipient> Recipients { get; set; }
    Property Value
    List<IDriveRecipient>

    RequireSignIn

    Specifies where the recipient of the invitation is required to sign-in to view the shared item

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

    Roles

    Specify the roles that are be granted to the recipients of the sharing invitation.

    Declaration
    public List<PermissionRole> Roles { get; set; }
    Property Value
    List<PermissionRole>

    SendInvitation

    Specifies if an email or post is generated (false) or if the permission is just created (true).

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

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