IDocumentClient.ReadUserAsync Method

Definition

Overloads

ReadUserAsync(String, RequestOptions)

Reads a User as an asynchronous operation in the Azure DocumentDB database service.

ReadUserAsync(Uri, RequestOptions)

Reads a User as an asynchronous operation in the Azure DocumentDB database service.

ReadUserAsync(String, RequestOptions)

Reads a User as an asynchronous operation in the Azure DocumentDB database service.

public System.Threading.Tasks.Task<Microsoft.Azure.Documents.Client.ResourceResponse<Microsoft.Azure.Documents.User>> ReadUserAsync (string userLink, Microsoft.Azure.Documents.Client.RequestOptions options = null);
Parameters
userLink
String

The link to the User resource to be read.

options
RequestOptions

(Optional) The RequestOptionsfor this request.

Returns

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

ReadUserAsync(Uri, RequestOptions)

Reads a User as an asynchronous operation in the Azure DocumentDB database service.

public System.Threading.Tasks.Task<Microsoft.Azure.Documents.Client.ResourceResponse<Microsoft.Azure.Documents.User>> ReadUserAsync (Uri userUri, Microsoft.Azure.Documents.Client.RequestOptions options = null);
Parameters
userUri
Uri

A URI to the User resource to be read.

options
RequestOptions

(Optional) The RequestOptions for the request.

Returns

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