Google Drive List permissions function

The Google Drive List permissions function in RPA.

Help CentreFunctions & Formulas

This article describes the RPA Google Drive functionality to list permissions.

For a full list of available functions, please read Google Drive functions.


Description

The Google Drive List permissions function lists all permissions (who has access) for a file, including their roles and types.


Setting it up

To use the Google Drive List permissions function, follow these instructions:

{{popups:rpas/add:action=google-workspace-drive-list-permissions}}

Once on a process map:

  1. Navigate to the process where you would like to add the Google Drive List permissions function
  2. Click on the green button's drop-down (right side of the green button labelled "Process")
  3. On the menu that appears, click on the "+ Activity" item
  4. From here you can select the Google Drive List permissions option
  5. Click "Add" once you are done

Input parameters

ParameterRequiredTypeDefaultDescription
File IDYesText-The file ID to list permissions for
VariableNoText-State variable to store the list of permissions

Output variables

VariableTypeDescription
VariableListList of permission objects with id, type, role, and emailAddress

Errors

ErrorDescription
File not foundThe specified file ID does not exist

Tips


Related functions

See it working on your own data

Everything documented here ships with the platform – try the document tools free, or go live in 7 days.