Sdílet prostřednictvím


UserResponse Class

Definition

The cosmos user response

public class UserResponse : Azure.Response<Azure.Cosmos.UserProperties>
type UserResponse = class
    inherit Response<UserProperties>
Public Class UserResponse
Inherits Response(Of UserProperties)
Inheritance

Constructors

UserResponse()

Create a UserResponse as a no-op for mock testing

Properties

HasValue

Gets a value indicating whether the current instance has a valid value of its underlying type.

(Inherited from NullableResponse<T>)
User

The reference to the cosmos user. This allows additional operations on the user or for easy access permissions

Value

Gets the value returned by the service. Accessing this property will throw if HasValue is false.

Methods

GetRawResponse()

Returns the HTTP response returned by the service.

ToString()

Returns a string that represents the current object.

(Inherited from NullableResponse<T>)

Operators

Implicit(UserResponse to CosmosUser)

Get CosmosUser implicitly from UserResponse

Applies to