IDocumentClient.ReadPermissionFeedAsync Method

Definition

Overloads

ReadPermissionFeedAsync(String, FeedOptions)

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

ReadPermissionFeedAsync(Uri, FeedOptions)

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

ReadPermissionFeedAsync(String, FeedOptions)

Reads the feed (sequence) of Permission for a user as an asynchronous operation in the Azure Cosmos DB 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);
abstract member ReadPermissionFeedAsync : string * Microsoft.Azure.Documents.Client.FeedOptions -> System.Threading.Tasks.Task<Microsoft.Azure.Documents.Client.FeedResponse<Microsoft.Azure.Documents.Permission>>
Public Function ReadPermissionFeedAsync (userLink As String, Optional options As FeedOptions = null) As Task(Of FeedResponse(Of Permission))

Parameters

userLink
System.String

The link of the parent user resource.

options
FeedOptions

(Optional) The FeedOptionsfor this request.

Returns

System.Threading.Tasks.Task<FeedResponse<Permission>>

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

Applies to

ReadPermissionFeedAsync(Uri, FeedOptions)

Reads the feed (sequence) of permissions for a user as an asynchronous operation in the Azure Cosmos DB 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);
abstract member ReadPermissionFeedAsync : Uri * Microsoft.Azure.Documents.Client.FeedOptions -> System.Threading.Tasks.Task<Microsoft.Azure.Documents.Client.FeedResponse<Microsoft.Azure.Documents.Permission>>
Public Function ReadPermissionFeedAsync (userUri As Uri, Optional options As FeedOptions = null) As Task(Of FeedResponse(Of Permission))

Parameters

userUri
System.Uri

The URI of the parent user.

options
FeedOptions

(Optional) The FeedOptions for the request.

Returns

System.Threading.Tasks.Task<FeedResponse<Permission>>

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

Applies to