Fields
Fields
| Parameter | Description | |
|---|---|---|
actionString |
required | One of grant or revoke. |
roleString |
required | One of read or write. |
resourceIdString |
required | The Id of the file/folder. You can get this value from the Content Library. |
resourceTypeString |
required | One of file or folder. You can get this value from the Content Library. |
driveIdString |
required | The Id of the drive. |
emailsList<String> |
required | Email IDs for which you want to provide/revoke access. |
salesforceUserOrGroupIdsList<String> |
required | List of Salesforce User/Group IDs to grant or revoke access. |
resourceIdsList<String> |
required | List of resourceId values. |
salesforcePermissionBoolean |
optional | Optional flag indicating whether the permission is applied as a Salesforce-side permission. Set via the constructor overload that accepts it. |
Constructors
global PermissionInput( String action, String role, String resourceId, String resourceType, String driveId, List<String> emails, List<String> salesforceUserOrGroupIds, List<String> resourceIds )