Class PermissionRequest


@Scriptable public class PermissionRequest extends Object
  • Constructor Details

    • PermissionRequest

      public PermissionRequest(List<DriveRecipient> p_driveRecipients, String p_message, boolean p_requireSignIn, boolean p_sendInvitation, List<String> p_roles)
      A permission request object contains the information, which is required to create a new one drive permission. For more informations:
      p_driveRecipients - The recipients who are allowed to access the respective drive item.
      p_message - The message which the recipients receive in the email.
      p_requireSignIn - If the recipients have to be logged in to access the drive item.
      p_sendInvitation - If a invitation should be send to the recipients.
      p_roles - A list of roles (usually a selection of 'read', 'write', 'sp.owner' and 'sp.member').
      See Also:
  • Method Details

    • getDriveRecipient

      public List<DriveRecipient> getDriveRecipient()
    • getMessage

      public String getMessage()
    • isRequireSignIn

      public boolean isRequireSignIn()
    • isSendInvitation

      public boolean isSendInvitation()
    • getRoles

      public List<String> getRoles()