UiPath Activities

The UiPath Activities Guide

Create File Permission

UiPath.GSuite.Activities.CreateFilePermission

Creates permission for the specific file.

Properties

Common

  • DisplayName - The display name of the activity.

Input

  • Domain - The domain that you want to grant file permissions. This property supports String variables and string formatted values. This property is required only if the GuaranteeType value is Domain.
  • FileID - The ID of the file that you want to create permissions for. This property supports String variables and string formatted values. When entering your value, use the exact File ID, or the output property variable from a previous Find Files And Folders or Create Folder activity.
  • GaranteeType - A drop-down list that specifies the entity you want to grant file permissions. The available property values are:
    • user - grants permission to a single user.
    • group - grants permission to a group.
    • domain - grants permission to a domain.
    • anyone - grants permission to anyone with access to the company domain.
  • Role - A drop-down list that specifies the file permission role you want to grant the entity. The available property values are:
    • reader - the entity can read and download the file.
    • writer - the entity can edit the file.
    • owner - the entity owns the file.
    • commenter - the entity can comment on the file.
  • UserEmail - The email address of the user or group that is getting the file permissions. This property supports String variables and string formatted values. This property is required only if the GuaranteeType value is user or group.

Misc

  • Private - If selected, the values of variables and arguments are no longer logged at Verbose level.

Options

  • EmailMessage - The message content that you want to send when there is an update to the file permissions. This property supports String variables and string formatted values. The default value is "A new permission has been created, and you are the recipient!". This property is only required if SendNotificationEmail is selected.
  • SendNotificationEmail - If selected, an email notification is sent to the entities with permission.
  • SupportsTeamDrives - If selected, the activity can support team drives.

Output

  • Permissions - The granted permissions. This property supports Google Permission variables. You can use this variable as an input property value in the Get File Permissions activity. For more information about the Permission datatype, see Permissions in the Google Drive APIs documentation.

Updated 9 months ago


Create File Permission


Suggested Edits are limited on API Reference Pages

You can only suggest edits to Markdown body content, but not to the API spec.