Class InviteOptions
Options that can be set when inviting users to an item
public class InviteOptions : InviteOptionsBase
- Inheritance
-
InviteOptions
- Inherited Members
Properties
ExpirationDateTime
Specify the DateTime after which the permission expires. Note: Available on OneDrive for Business, SharePoint, and premium personal OneDrive accounts.
public DateTime ExpirationDateTime { get; set; }
Property Value
Message
A plain text formatted message that is included in the sharing invitation. Maximum length 2000 characters.
public string Message { get; set; }
Property Value
Recipients
A collection of recipients who will receive access and the sharing invitation.
public List<IDriveRecipient> Recipients { get; set; }
Property Value
RequireSignIn
Specifies where the recipient of the invitation is required to sign-in to view the shared item
public bool RequireSignIn { get; set; }
Property Value
Roles
Specify the roles that are be granted to the recipients of the sharing invitation.
public List<PermissionRole> Roles { get; set; }
Property Value
SendInvitation
Specifies if an email or post is generated (false) or if the permission is just created (true).
public bool SendInvitation { get; set; }