Method GrantAccessToFile
GrantAccessToFile(FileId, Addressee, Timestamp, string, GrantOptions)
Grant access to a file.
Task GrantAccessToFile(FileId fid, Addressee address, Timestamp expiresAt = null, string comment = "", GrantOptions options = null)
Parameters
fidFileIdIdent of the file.
addressAddresseeThe party that is to be granted access to the file.
expiresAtTimestampAn optional datetime at which the grant will automatically expire.
commentstringA comment to send along.
optionsGrantOptionsPermissions this grant gives on grant or document level.