Table of Contents

Method GrantAccessToFile

Namespace
Zedal.Sdk.Apis.Core
Assembly
Zedal.Sdk.dll

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

fid FileId

Ident of the file.

address Addressee

The party that is to be granted access to the file.

expiresAt Timestamp

An optional datetime at which the grant will automatically expire.

comment string

A comment to send along.

options GrantOptions

Permissions this grant gives on grant or document level.

Returns

Task

A Task representing the asynchronous operation.