Help Centre › Functions & 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:
- Navigate to the process where you would like to add the Google Drive List permissions function
- Click on the green button's drop-down (right side of the green button labelled "Process")
- On the menu that appears, click on the "+ Activity" item
- From here you can select the Google Drive List permissions option
- Click "Add" once you are done
Input parameters
| Parameter | Required | Type | Default | Description |
|---|---|---|---|---|
| File ID | Yes | Text | - | The file ID to list permissions for |
| Variable | No | Text | - | State variable to store the list of permissions |
Output variables
| Variable | Type | Description |
|---|---|---|
| Variable | List | List of permission objects with id, type, role, and emailAddress |
Errors
| Error | Description |
|---|---|
| File not found | The specified file ID does not exist |
Tips
- Use the permission ID from the results with Remove permission or Update permission