IDocumentClient.ReadPermissionFeedAsync Method

Definition

Overloads

ReadPermissionFeedAsync(String, FeedOptions)

Reads the feed (sequence) of Permission for a user as an asynchronous operation in the Azure DocumentDB database service.

ReadPermissionFeedAsync(Uri, FeedOptions)

Reads the feed (sequence) of permissions for a user as an asynchronous operation in the Azure DocumentDB database service.

ReadPermissionFeedAsync(String, FeedOptions)

Reads the feed (sequence) of Permission for a user as an asynchronous operation in the Azure DocumentDB database service.

public System.Threading.Tasks.Task<Microsoft.Azure.Documents.Client.FeedResponse<Microsoft.Azure.Documents.Permission>> ReadPermissionFeedAsync (string userLink, Microsoft.Azure.Documents.Client.FeedOptions options = null);
Parameters
userLink
String

The link of the parent user resource.

options
FeedOptions

(Optional) The FeedOptionsfor this request.

Returns

A System.Threading.Tasks containing a ResourceResponse<TResource> which wraps a Permission containing the read resource record.

ReadPermissionFeedAsync(Uri, FeedOptions)

Reads the feed (sequence) of permissions for a user as an asynchronous operation in the Azure DocumentDB database service.

public System.Threading.Tasks.Task<Microsoft.Azure.Documents.Client.FeedResponse<Microsoft.Azure.Documents.Permission>> ReadPermissionFeedAsync (Uri userUri, Microsoft.Azure.Documents.Client.FeedOptions options = null);
Parameters
userUri
Uri

The URI of the parent user.

options
FeedOptions

(Optional) The FeedOptions for the request.

Returns

The task object representing the service response for the asynchronous operation.