Click or drag to resize

IGoogleDriveShareFile Method

Share a file with specified emails by giving the users writting permission. Or transfer ownerhip of file to 1 user.

Namespace:  NetQuarry.Services.GoogleDrive
Assembly:  EAP.Core (in EAP.Core.dll) Version: 2.0.0.0 (4.6.8.0)
Syntax
void ShareFile(
	string fileId,
	string emails,
	bool changeOwner = false
)

Parameters

fileId
Type: SystemString
The file's ID in google drive
emails
Type: SystemString
Emails to share the file with. Emails should be semi-colon separated. If transferring ownership, should only provide 1 email and no semi-colons.
changeOwner (Optional)
Type: SystemBoolean
Set to true if transfering ownership of file. Default false
See Also